allane
 Posts:9

| | 02/24/2008 7:18 AM |
| Hi John
Hmmm....that's strange. It looks ok now but I don't know why.
I think your right about the UFT-8 encoding because when I change the "character encoding" in the browser to Western ISO-8859-1 the characters gets messed up again. No problem when the browser is set to UTF-8.
Well, if it's of any use, here's what I did:
(Btw: By "Requesting the page....." I simply meant that when using the friendly-url in the browser)
1) Put PB on the page 2) Assigned a virtual path (/forum/default.aspx) 3) Write "/forum/default.aspx in the browser 4) All danish characters where messed up
But I guess it was a problem in my browser.
-AllanE | | | |
|
Host Account
 Posts:82


| | 02/24/2008 7:38 AM |
| | Ok, maybe there is a problem where I am not getting the charset set properly on the initial response after assigning a virtual path. I'll try to recreate this. Thanks for the details. | | | |
|
lodani dani
 Posts:45

| | 02/25/2008 1:33 PM |
| Hello! This is just to share with you a great experience I had with PB3. Because of the YSlow recommendations I've been thinking on using a CDN to store my images and media files. My skins (from Evan Oneil) are using a lot of gifs and some of them include SWF animations for the logos and banners as well. Then I discovered Amazon S3 and I realized that it's very fast, very very cheap (0.15$ x GB x month) and very easy to integrate. So I opened an account with them and I uploaded all my static images to a Amazon S3 datacenter. A nice thing about Amazon S3 is that you can register a CNAME entry in the DNS and point it to their servers. Now all my images and media objects are hosted in a domain called like: media.mydomain.com. And therefore are hosted and served by Amazon S3. Finally I used a very simple rule in PB3 to change all the requests to images from local to the new subdomain hosted by AmazonS3. < searchFor >"(/Portals/_default/.*?\.(gif|jpg|swf)")< /searchFor > < replaceWith >"http://media.mydomain.com$1< /replaceWith > With PB I can plug and unplug the CDN as needed without any skin modifiation. It’s fantastic!!!! Needles to say that my site scales and performs now much better than before. dani Amazon S3 http://www.amazon.com/gp/browse.html?node=16427261 | | | |
|
DavidWSnow
 Posts:162

| | 02/25/2008 2:57 PM |
| Does YSlow view Amazon as a CDN for your pages? Running YSlow on Amazon's pages rate as an F and recommends a CDN. Not that YSlow's score is anywhere as important as speeding up ones actual site, it is the metric that we are using for the moment. /DaveS | | | |
|
lodani dani
 Posts:45

| | 02/25/2008 3:16 PM |
| No, yslow did not recognise it. I had to add it manually as a CDN on the YSlow settings. :-( But I did it mainly to improve the performance and save bandwith. Unfortunately use an supported YSlow CDN is out of my budget | | | |
|
DavidWSnow
 Posts:162

| | 02/25/2008 3:18 PM |
| | Out of all of our combined budgets as well I suspect ;=} | | | |
|
green flash
 Posts:44

| | 02/25/2008 3:38 PM |
| | John, firebug shows 4 erros on this page. two of them related to sys undefined and two other related to illegal character. | | DotNetNuke Türkçe | |
|
John Mitchell Posts:2750


| | 02/26/2008 8:12 AM |
| Hi Everyone, Sorry for the delay in responding. I've been working on getting the ScriptResource.axd files to be included in the optimization, and as you may have noticed there are some javascript errors that I have been battling with. It's very close now though. If you check my site with YSlow the ScriptResource.axd files are being processed by PageBlaster. There is still an issue with the FCK editor here in the forums using FireFox which I will get resolved shortly. I also have the cache delete buttons added to the interface for the next build which led me in a direction to structure the folders in the cache a little differently. I'm still checking all that out too, but I should have a new build soon. Thanks for the great feedback Dani. I switched my site to using Amazon S3 for a little while, but I noticed it would get hung looking for an image sometimes. Since I couldn't figure out how to make it visible to YSlow by default I took it back out, but it does help to have your images and/or other resources on a different host name so that they can download in parallel. I'll have to look into that one again. | | | |
|
John Mitchell Posts:2750


| | 02/26/2008 11:35 AM |
| Just testing a post with FireFox. It looks like I was able to resolve the issues with PageBlaster and the FCK editor in FireFox by *not* excluding the FCK folder.  | | | |
|
grant
 Posts:7

| | 02/27/2008 12:08 AM |
| Hi John
Regarding the feature to not cache if the http response code isn't 200:
The goal was to not cache if an error occurs with a module on a page. The problem is that if the message "An error has occurred" is displayed due to a module error, the page response code is 200 as the page is successfully served.
Would it be possible to allow for a site-wide rule to be applied that accepts a string to search for in the page response and if that string is found to not cache? Or would this be too much of a performance hog in parsing all page responses.
I'm not keen on changing the page response code to if a module error occurs as this could impact site crawlers?
What do you recommend?
Thanks
Grant | | | |
|
John Mitchell Posts:2750


| | 02/28/2008 8:34 AM |
| Hi Grant, I have added a new Rule Token that will make it possible for you to disable caching based on searching in the output of the text. I just installed the new version here on Snapsis and I'll release it later on if all goes smooth. The PB function to use in the response field of the rule will be: | | | |
|
caroig
 Posts:30

| | 02/28/2008 11:10 AM |
| I have a couple of questions. I've just installed V3 and it appears not to be loading the skin.css for my portals. I have some performance options set on the DNN site (whitespace removal, gzip compression) should these all be switched off? This is the line I have in my config file, but I'm not sure if it is generating debug and less sure as to where the ouput file will be found (trace level="debug" file-path="/PageBlaster.trace.config" /) - Could someone post an example for me I'm guessing from the changes already implemented that I do not need to make any further changes to the web.config file. Many thanks | | | |
|
John Mitchell Posts:2750


| | 02/28/2008 11:26 AM |
| Hi caroig, You should remove the DotNetNuke compression module. PageBlaster replaces that functionality and adds a lot more.
The Level should be "Debug" (capital "D") and the file-path="/PageBlaster.trace.config" will put the trace file in the root of your website. | | | |
|
caroig
 Posts:30

| | 02/28/2008 12:06 PM |
| Thanks John, When you way 'remove the DNN compression module' - I have whitespace & compression off now and Page persistance set to page. I even switched caching off which probably wasn't wise. Anything else I need to do? What I can see in the consolidated css - Is the contents of a css file that I have defined in my default.aspx and following that, the first class (and only the first class) from my default.css - there is no other content in the file. trace is working now, but I don't see anything significant - beginner eyes I guess! | | | |
|
John Mitchell Posts:2750


| | 02/28/2008 1:22 PM |
| The core dnn compression module should be commented out or removed from web.config. If this is a new PB 3.0x install then it would have made this change for you, but better to check to be safe.
After the core DNN compression module is removed then the settings for that module in Host Settings will no longer make a difference and they are not needed.
Never set caching to none in host settings, I recommend setting it to heavy caching.
After everything is verified on the install, try deleting your cache files and letting them rebuild. | | | |
|
caroig
 Posts:30

| | 02/28/2008 1:28 PM |
| I give the cache a try although, looking a bit deeper, my portals display more or less perfetly in IE7 (I've seen one small problem on tables and with RadMenu) - I'm just experiencing the problem in Firefox (2.0.0.12) - no .css is loaded. | | | |
|
John Mitchell Posts:2750


| |
John Mitchell Posts:2750


| | 02/28/2008 2:03 PM |
| Ok everyone, This new build is looking really good. I just corrected a couple more problems, and don't see any others, but please come and check out the speed for yourself and let me know if you see any problems on this site before I wrap it up.
New in this build: Optimization of ScriptResource.axd files as well as WebResource.axd (you can remove any .axd excludes from config and get even better performance (and YSlow scores). Complete overhaul of the caching pipeline. Now the cache is rebuilt immediately on a single hard refresh. I also refactored the way the Folder structure works so that cache invalidatation can be optimized by not removing too much at one time. Added the ability to have multiple page parameters for places where other Querystring params may indicate "pages within pages" like these forums. This helps with the cache invalidation mentioned earlier.
The user based caching has been optimized, and I highly recommend turning on caching for Admins as it significantly increases the performance of pages that have the control panel.
Added functionality to allow the StaticFileHandler to process virtually anything thrown at it. This allows you to set a "wildcard" mapping in IIS instead of having to specify each extension separately. I'm using that feature here on Snapsis.com to achieve the High YSlow scores you see here because of the image handling.
Another benefit of the wildcard mapping is that you can create virtual paths and rules for re-direct that do not have a page extension. So with wildcard IIS mapping you could have a url that looks like http://www.mysite.com/products
Added cache deletion buttons to the UI.
Added the ability to disable caching based on a rule (mentioned earlier).
That's all I can think of right now. I'll be sending out a build in a few hours if I don't have any issues. | | | |
|
lodani dani
 Posts:45

| | 02/28/2008 2:14 PM |
| John, I installed PB 3.0.8 on a dnn installation (4.8.0) where PB has never been installed before and when I open the Administration \ Snapis page it's empty: the PB module to configure portal-wide replacements is missing. However the page-level module works fine when added to an ordinary page. I don't get any visible error, no errors on the dnn event viewer, no errors in the pb trace file. I tried to use the config file from a portal where PB is working fine without sucess. I also copied the dlls and DesktopModules\Snapis folder from a working installation and the result is the same. I compared also the module definitions between them and they looks like pretty the same. any clue? thanks, dani | | | |
|
John Mitchell Posts:2750


| | 02/28/2008 2:28 PM |
| For the PageBlaster Admin configuration it has to add the page to the DB and install the controls as admin modules.
There is a SQL sript that runs to accomplish this located in DesktopModules/Snapsis/PageBlaster/Config/SQL
You can try running that SQL script in the Host SQL window and see if that fixes it. I'll check to see if maybe I didn't match the DNN manifest version with the SQL script.
| | | |
|