Quick Nav:  Online Store   |   Login | Register

Very few files appearing in Cache compared to file requests

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:38


05/15/2008 2:41 PM  

I am running PB 3.3.1 on a 4.8.2 DNN install. In my Snapsis.Pageblaster.Config file I have it configured with the following in terms of cache space:

        memory-cache-interval="99:00:00:00"
        memory-size-limit="1" (comment": I keep this low as I am in a shared environment and I do not want to hog the memory)
        disk-cache-interval="03:00:00:00"
        disk-size-limit="100"

My site contains hundreds of DNN-hosted articles (mainly generated using the DNN blog module) and 1000s of other "pages" gernerated with Active Forums.  Therefore considering this and the fact that the site attracts thousands of unique visitors per day I expected lots of files to be in the PB cache folders. This is not the case.

For example over the course of May 13- 14 (i.e yesterday and the day before) there were (according to my Google Analytics account) with a total of 44 different pages with a tabid #87 that were reuqested by human visitors. However there were no files in the folder DesktopModules/Snapsis/Pageblaster/Cache/Tabid/87/ when I checked this evening. Similalry, one of the busiest parts of my site is the discussion forum which is hosted on tabid #63. Google Analytics is showing htat there were a total of 258 different pages (for a total page views of 1,943) requestd over the last two days for tabid 63, however there are just 14 different files in the cache for tabid #63 (and all 14 of them have a datestamp of less than one hour from the time I checked!). I agree that a proportion of these pages would be viewed by people logged in (and hence they would not be cached) but I still expect a serious amount of them are requested by users who are not logged in and hence the pages should be cached (and that includes the search bots that aggressively crawl the site and should create / request many files for the cache, accoridng to my Google WEbmaster Tools account the Googlebot alone crawls an average of 995 pages a day).

Am I wrong to have expected to see many more files in my PB cache? Or is there something I am overseeing in the configuration of PB?

Thanks for any advice.

Eoghano

John Mitchell
Posts:3248


05/15/2008 2:57 PM  
The PageBlaster cache is cleared for an individual page on any post-back. A "page" is represented by a single folder in the PageBlaster cache. So if you only have tabid as th page-param then the all of the forum pages will be cleared on each post.

You can tell PageBlaster to use additional parameters for determining individual pages by adding more paramaters to the page-param setting. You can do this in the global config by setting something like page-param="tabid;forumid;articleid"

If there is a page that doesn't have a parameter that you specify it will ignore that one. This does take a little extra time to check for each additional parameter, so you may want to only adjust the settings on pages that need the additional parameters. You do that by adding a PageBlaster module to the specific page and then going into configuration under cache settings you will see a place to specify the page parameters for that page.


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 > Very few files appearing in Cache compared to file requests



ActiveForums 3.7
Powered by: Snapsis Software