Quick Nav:  Online Store   |   Login | Register

Problem with disk-cache-interval

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
Peter
<20 Posts
Posts:2


01/17/2007 6:04 AM  

Hi,

today I installled PageBlaster V2 on our website - so far everything went fine.
One Problem occurs, when I set the disk-cache-interval Value to any other than all zero (I used "01:00:00:00" and "00:08:00:00").
The Site responds with an Error-500 or logs the error in the DNN-Eventlog. The Error-Message is listed below, we are using DNN Version 3.3.5.
Are the Pages getting cached in Memory anyway? I set the memory-cache-interval to "00:04:00:00". How are the Pges delivered? Is it that if there is a Page chached on Disk it is first delivered from there end then from Memory?

My preferred Config would be:
memory-cache-interval="00:04:00:00"
memory-size-limit="25"
disk-cache-interval="01:00:00:00"
disk-size-limit="100"

Regards, Peter 

AssemblyVersion: 03.03.05
Method: System.DateTime..ctor
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.ArgumentOutOfRangeException: Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Parameter name: ticks at System.DateTime..ctor(Int64 ticks) at System.CurrentSystemTimeZone.ToLocalTime(DateTime time) at System.DateTime.ToLocalTime() at Snapsis.HttpModules.PageBlaster.CachedPage.get_Expires() at Snapsis.HttpModules.PageBlaster.CachedPage.Serialize() at Snapsis.HttpModules.PageBlaster.PageController.UpdatePageCache(HttpApplication app, CachedPage cachedPage, Boolean writeFile) at Snapsis.HttpModules.PageBlaster.PageController.GetCachedPage(HttpApplication app) at Snapsis.HttpModules.PageBlaster.PageBlasterModule.ResolveRequestCache(Object sender, EventArgs e) at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---

John Mitchell
Posts:3492


01/17/2007 10:48 AM  
That is strange that you would get an error with those settings. I am using the same config as your desired one and don't get that error.

Are you sure there wasn't an extra zero in there somewhere?

Pages are first served from memory. If the page is found in memory, it is checked for expiration, if it is expired then it is looked for on disk, if it is found on disk, and it is not expired it is put back into memory, so that it is almost always coming from memory if it is being used and the memory limit has not been reached.
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 > Problem with disk-cache-interval



ActiveForums 3.7
Powered by: Snapsis Software