New features
Version 3.x > New features > 403 No Modified support/setting View modes: 
User avatar
Member
Member
Mufasa - 2/4/2009 2:51:57 PM
   
403 No Modified support/setting
I would like a setting similar to the page properties "cache" setting that lets you set whether a document will respond with the proper cache headers and timestamps, so that the browser doesn't request the resource every single page view (including even the user navigation backwards with some browsers). This would allow the server to respond with an HTTP 304 Not Modified header. Having a setting per document would allow you to control if a particular document is okay to be stale after a change for a little while. This would be very important for images, PDFs, and other things that will get downloaded a lot but won't change that often.

As it is, my Kentico sites burn through a lot more bandwidth than is necessary because of their 'safe' cache-control header settings.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 2/9/2009 5:14:34 AM
   
RE:403 No Modified support/setting
Hello,

In your case, you can use full page caching which will cache page content and other documents downloaded using 'getfile' method as well. You can manage it here: 'Site Manager -> Settings -> choose_your_site_within_left_upper_dropdown -> Web site'. Please focus on Cache content (minutes), Cache images (minutes), Cache page info (minutes) options.

You can also set 'Maximum file size to cache' in 'Files' section.

Best regards
Ondrej Vasil