Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Improving performance with HTTP cache?Improving performance with HTTP cache?
Previous
 
Next
New Post
5/30/2006 2:35 AM
 

Evidently it's possible to use HTTP Caching for images, .css files, .js files, etc.  Since the site skin rarely changes, it seems like it would make sense to reduce the the number of request/response roundtrips by setting "max-age" for images (and possibly .css and .js) files.  Presumably, the client would just use the local copy and not even require a roundtrip...

Does anyone know how to do this in DNN?

 
New Post
5/30/2006 3:37 AM
 
I know there are some settings in IIS console:
for a specified images (js css) folder, Properties - HTTP Headers - check Enable content expiration, and set a big number of days.

Regards,

Claudiu Farcas

FRIEND SOFTWARE
FRIEND SOFTWARE - business solutions for you ...
 
New Post
5/30/2006 8:30 AM
 

 

The type of caching you are talking about is done automatically by your browser.

It doesn't do it when you are authenticated though because of headers sent by DotNetNuke to stop local caching in case a machine is shared.


DotNetNuke Modules from Snapsis.com
 
New Post
5/30/2006 12:24 PM
 

I think it's set by the page Cache-Control headers which the browser then uses to determine when to re-request - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/IE_Fiddler2.asp, http://support.microsoft.com/default.aspx?scid=kb;en-us;323290, etc.  I see it's turned off in Default.aspx.vb.

What's interesting is to use Fiddler to look at www.yahoo.com or www.microsoft.com and note that every image, .js and .css file can have a different setting.  If it's controlled by the Page Cache-Control headers, how do they do this?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Improving performance with HTTP cache?Improving performance with HTTP cache?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out