A cache is a local copy of a file that exists elsewhere. Caching can take place in the browser, on a dedicated machine on a network, or at an ISP.

learn more… | top users | synonyms

15
votes
4answers
30k views

How do I set expiration headers for CSS, JS, and Images?

I have recently analysed my website with pagespeed addon on firebug. It suggested me to set expiration on CSS, JS and image files. I am wondering how do i do this?
222
votes
42answers
15k views

Recovering a lost website with no backup?

Unfortunately, our hosting provider experienced 100% data loss, so I've lost all content for two hosted blog websites: http://blog.stackoverflow.com http://www.codinghorror.com (Yes, yes, I ...
3
votes
2answers
763 views

How can I make redirections cacheable to speed up load times?

Google PageSpeed says this: Avoid landing page redirects To speed up page load times for visitors of your site, remove as many landing page redirections as possible, and make any required ...
1
vote
2answers
2k views

.htaccess and browser caching

I ran across these suggested htaccess edits. Is this a good practice? Is this something I should implement on my wordpress site?: <IfModule mod_expires.c> ExpiresActive On ExpiresByType ...
9
votes
2answers
185 views

Control over the Internet Archive besides just “Disallow /”?

Are there any mechanisms to control what the Internet Archive archives on a site? I know to disallow all pages I could add: User-agent: ia_archiver Disallow: / Can I tell the bot that I want them ...
6
votes
2answers
1k views

Apache: How can I force the browser to reload CSS files?

How to force the user's web browser to reload CSS files with Apache Server? I updated my website's CSS file but some users are still seeing problems that would be resolved if their browsers fetched ...
4
votes
1answer
3k views

“404. That’s an error.” when viewing from Google cache

My site is getting 404. That’s an error. message when I click on cached from Google search results. This is the error message from Google: That’s an error. The requested URL ...
1
vote
2answers
64 views

How to compel the browser to get the webpages from a server not from a local cache even if a particular page is frequently requested?

I have been testing a web site but every time I complain to the web developer that I am not able to see on the website which you have recently corrected,he told me that I am seeing that content from ...
0
votes
0answers
318 views

Is there a way to make Alexa's ia_archiver slow down its crawling of my website?

Alexa's ia_archiver bot is the main contributor to the Internet Archive's "Wayback Machine" web collection, and there are advantages to having my website included in that collection. There are other ...