Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Leverage browser caching in a Windows 2003 shared hosting

Posted on 2011-04-23
1
Medium Priority
?
1,110 Views
Last Modified: 2012-06-21
Hello,
Some of sites are on shared hosting (Windows 2003 Server), so I have no way to access server configuration.
I read everywhere about leverage browser caching, expecially for static files (jpg, css, js, etc.) but... how to do this in my case?
The hosting has .NET installed, could a web.config file help in some way? If yes, how?

Thanks in advance for the answers
0
Comment
Question by:ivanhalen
1 Comment
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 35454461
No, the browser never sees 'web.config'.  Browsing caching is controlled by the user and the browser.  Unless it is turned off, browsers will automatically cache files.  When they request a page that is in their cache, they issue a conditional GET request that includes an expiration date.  If the page or file on the server has not been modified, it sends back a "304 Not Modified" response and the browser uses the page in it's cache.  http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Integration Management Part 2
Loops Section Overview
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question