Quick Nav:  Online Store   |   Login | Register

Few questions

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Mariette Knap
<250Posts
Posts:102


07/26/2006 5:02 AM  

I installed it on my sandbox running DNN 4.3.3. and that seems to work though I did not test a lot, that is for later.

On my production server I use native IIS 6.0 compression and a lot of modules are cached up to one day. As for now I do not see any added value in installing PageBlaster on my production server.

If you could add the following functionality I will be interested in installing PageBlaster on the production server:

  1. ViewState. Move it either to memory or store it in the SQL database. Make it a choice in your config file.
  2. Whitespace removal
  3. Removal of all crap that DNN causes when it build pages. There is just so much that does make DNN not comply with any standard.

Thanks
Mariette



DotNetNuke Platinum Benefactor
Mariette Knap - www.smallbizserver.net
John Mitchell
Posts:3238


07/26/2006 5:15 AM  

Thanks for checking it out.

Your 3 enhancements are allready on the way and due out shortly in the Pro Version.

For the ViewState persistent storage I will have that go to disk to keep any DB specific code out so that it will always work on any site.

Compression in IIS is good, and if you have that it is good to set compression to "none".

I think you would see a big difference using this because Module Level caching does not come close to Page Level caching in DNN.  There are lots of calls that are still made to the DB even if all your modules are cached.

I did a SQL Trace while testing and this module reduce the DB hits to one per page (the portal lookup).

Mariette Knap
<250Posts
Posts:102


07/26/2006 5:30 AM  

Thanks. I still don't understand how I can benifit from caching when a tab has for example a forum stored. If I look in the cache folder I only see cached data by tabid. How does a URL like http://www.smallbizserver.net/Default.aspx?tabid=53&view=topics&forumid=40 gets cached. BTW, Active Forums has its native caching mechanisme.

I have only 16 tabs on my site but a total of 48,000 pages.



DotNetNuke Platinum Benefactor
Mariette Knap - www.smallbizserver.net
John Mitchell
Posts:3238


07/26/2006 5:45 AM  

Excellent question.

The module caches every unique Url.  Look inside your tabid folder for the forums in the cache and you will notice one file for each different Url that you hit.

Another advantage is at app restart.  DNN will not be taxed as hard to reload it's own cache on an app restart if the pages can be delivered from a static file.

The higher your traffic, the more benefit you will get from page level caching and you will also be able to reduce the interval very low and still get a huge benefit if you have high traffic.

Page level caching is much better than module or partial page caching because you can actually short circuit even most of the underlying ASP.Net pipeline.  It makes it like all your doing is delivering straight Html.

Here is an article if your interested to learn more:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/html/asp03282002.asp

 

Mariette Knap
<250Posts
Posts:102


07/26/2006 5:55 AM  
I only have one .info file in the tabid folder so I guess something does not work? If I use the PageBlaster should I turn of Module Caching and caching in the Host settings? It does not make sense to me to cache stuff twice?


DotNetNuke Platinum Benefactor
Mariette Knap - www.smallbizserver.net
John Mitchell
Posts:3238


07/26/2006 6:01 AM  
If you only have one .webinfo file and you have navigated to several urls on that same tabid then something may not be setup right.

Yes, you can turn off other caching if you are using PageBlaster and it will give you more memory for caching pages.
Mariette Knap
<250Posts
Posts:102


07/26/2006 6:31 AM  

OK, now it seems to create more .info files. Sorry for bugging you but I have something I don't understand. You wrote "Yes, you can turn off other caching if you are using PageBlaster and it will give you more memory for caching pages." I understand that PageBlaster caches pages on disk and not in memory. Then why do you say that by disabling caching in the Host settings frees up memory so that I have more memory for caching pages...??

I have loads of memory available and it would be nice if PageBlaster would store cached pages in memory.



DotNetNuke Platinum Benefactor
Mariette Knap - www.smallbizserver.net
Make Portal
<20 Posts
Posts:1


07/26/2006 7:09 AM  
This is great.

Just wondering if you are already uing Blowery do you need to remove it before you can use PageBlaster or they can reside together?
Gilbert Vanden Borre
<50 Posts
Posts:44


07/26/2006 9:13 AM  
Dear John

You remember that you've helped me for setting up the http blowery compression.
(http://dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/108/threadid/55823/scope/posts/Default.aspx)
Thanks for that.
I've used the guidelines that were post at bi4c
(http://dnn.bi4ce.com/Forums/tabid/242/forumid/2/postid/2/view/topic/Default.aspx)

Now I'll try to setup your module: Snapsis.PageBlaster.
First:
I think that I must remove the http blowery compression because your module does that also and more...
Second
I understand not so good were I can see what is cached?
Third
In your blog Changing HttpCacheability to Speed up your DotnetNuke Site.
(http://blogs.snapsis.com/PermaLink,guid,46c9ab35-9bb7-4ff9-a8e9-63ff3497c7f0.aspx)
you give a script that turns on the client side caching of the content.
I think this is still necessary to the skins that I make?... Is this true?

Vriendelijke groeten
Gilbert Vanden Borre

Vriendelijke groeten
Gilbert Vanden Borre
John Mitchell
Posts:3238


07/26/2006 10:01 AM  

Right, you don't need the seperate Blowery compression module.

I tried to make them work together, but since both modules were working at that low level I had to incorporate the compression into the PageBlaster directly.  This gives more than one advantage. 

  1. Less DLL's in the /bin folder.
  2. Less to configure (you can remove the sections from web.config)
  3. When PageBlaster saves to memory or disk, it actually saves a compressed copy, so the delivery of new pages does not have to be saved again.

The cached pages are saved in Memory and on Disk, when the memory interval expires after a page has not been accessed it will still be available on disk until that interval expires, then it will start all over again on the next page access.

You can look in the cache-folder that is configured , by default it's /portals/_default/Cache, to see the cached pages on Disk.

Yes, you still want to do the client-side HttpCacheability for even more performance improvement.

The Pro version of the PageBlaster due out soon, will allow you to set all of this at the page level if desired.

 

Gilbert Vanden Borre
<50 Posts
Posts:44


07/26/2006 11:49 AM  
Dear John

Thanks for the effort and for this reply (so quickly)...
Shall the pro version in the future be integrate in the core of dnn?

Vriendelijke groeten
Gilbert Vanden Borre

Vriendelijke groeten
Gilbert Vanden Borre
John Mitchell
Posts:3238


07/26/2006 1:18 PM  

You're welcome Gilbert,

No, the PageBlaster Pro version will be a commercial product offered by Snapsis.

Thanks for your question.

Mariette Knap
<250Posts
Posts:102


07/26/2006 1:45 PM  
Great! That makes it easier to complain


DotNetNuke Platinum Benefactor
Mariette Knap - www.smallbizserver.net
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.



ActiveForums 3.7
Powered by: Snapsis Software