Quick Nav:  Online Store   |   Login | Register

Pre-cache compression

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
David L
<20 Posts
Posts:17


11/27/2007 9:43 AM  

Hi,

Does PageBlaster compress before items go into cache or only before being served after coming out of cache? We're trying to minimize our memory usage on the server and .NET output cache is a big part of that.

Also, can I get the source code for PB? It doesn't appear to be on CodePlex.

Thanks,

Dave

John Mitchell
Posts:2779


11/27/2007 11:00 AM  
Hi Dave,
Yes PageBlaster does compression before caching the page so that compression will not have to be done every time a page is requested. However, it will also cache a page that is not compressed if the browser that is requesting it does not allow compression. So it may not minimize memory like you want.

You can get source code for PB by e-mailing: pageblaster~AT~snapsis.com. I guess CodePlex doesn't keep it up if it's not being updated and there wasn't any interest generated in the open source project so it hasn't been updated there.
David L
<20 Posts
Posts:17


12/10/2007 2:29 PM  

Won't most browsers allow for compression? Wouldn't it still decrease memory used if the bulk of requests came from browsers with compression support?

Also, I wanted to make completely sure that PageBlaster compresses ASP.NET output cache.

Thanks,

Dave

John Mitchell
Posts:2779


12/10/2007 2:35 PM  
Yes, most all browsers allow for compression, but some don't (especially spiders) and in that case you will get a different instance of the page cached in memory. Also, different browsers sometimes cause the server to output different html for the same page, so the browser type is also part of the cache key for PageBlaster.

Yes, if you are using asp.net output cache, it will be rendered to the output stream first and then compressed if the browser accepts compression.
David L
<20 Posts
Posts:17


12/11/2007 11:48 AM  
One last question: are cached items stored on disk, in memory, or both? We have some disk space issues on our production servers and quite a large site so caching on disk could well be a problem for us.
John Mitchell
Posts:2779


12/11/2007 11:53 AM  
PageBlaster caches to Memory and to Disk. You can control disk caching by setting the disk-size-limit attribute in the config file. Setting it to zero will disable it.
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 > Pre-cache compression



ActiveForums 3.7
Powered by: Snapsis Software