Quick Nav:  Online Store   |   Login | Register

Compressing pages with PB but not caching them

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
eoghan o'neill
<50 Posts
Posts:22


03/07/2008 3:25 AM  

This maybe very simple to do but....

...is there any way with PB that you can set it up so that certain pages are compressed but they are not cached? I want to do this for the active Forums pages on my site - I do not want to cache them because if they are it means the Active Forum statistics are not updated when the thread is viewèd by an unauthenticated user.

Thanks

Eoghano

 

John Mitchell
Posts:2779


03/07/2008 7:11 AM  
If you are using the DNN module then you can place a module on the page with the forums and in the configuration set the Path=.* and excludeFrom=Caching

If you are using the free version then you can add an excludePath to the Snapsis.PageBlaster.config file.
Assuming the name of your page is "Forum" :

path pattern="forum" excludeFrom="Caching" />
eoghan o'neill
<50 Posts
Posts:22


03/08/2008 1:21 AM  
John, That did the trick. Many thanks. eoghano
eoghan o'neill
<50 Posts
Posts:22


04/01/2008 2:52 PM  
John,

I just went back to double check this and the response headers for my forum pages are now showing the following:

X-Snapsis-PageBlaster: v:2.2.4;c:m;x:+;r:+

My understanding is that the "c:m" part of that means the page is being cached in memory, but that is what I want to avoid. The text in my PB config is as follows:

path pattern="discussion" excludeFrom="Caching" />

(the URL for my active forums pages contains the word 'discussion' instead of 'forum').

So any changes I need to make / ideas on what to do to ensure my active forum pages are compressed by not cached?

Thanks.

Eoghano
John Mitchell
Posts:2779


04/01/2008 3:20 PM  

If your web.config has the PageBlaster module line before the UrlRewrite line in the httpModules section then you will need to use the Url as it looks with Friendly Urls turned off.  Using the tabid=nnn (where nnn is the tab number) will work in that case.

If you have the Pro version it is easy and will perform better if you put the module on that page instead of having the check accomplished for every request that comes through to your whole site.  Also, with the module on the page you don't have to figure out how the PageBlaster module "sees" the Url.

 

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Compressing pages with PB but not caching them



ActiveForums 3.7
Powered by: Snapsis Software