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
33k 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?
2
votes
1answer
62 views

Files not caching

We store our images on S3 and our performance has been incredibly slow. This morning we turned on CloudFront in hopes that our performance would increase. When I analyze our performance with ...
1
vote
2answers
69 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 ...
1
vote
1answer
2k views

How to specify expiration of cacheable resources?

I'm trying to speed up a wordpress site -- this site: http://richardclunan.net I'm following the observations here: http://gtmetrix.com/reports/richardclunan.net/9ps7Zc0j The first item says: "The ...
2
votes
1answer
74 views

Website Not Cached by Google Since 1 and Half Months [closed]

My website www.rushinformation.com is not being cached by Google since 1 April 2013 but pages are getting indexed. My robots.txt file is fine. So please tell me what could be the reason for this and ...
1
vote
1answer
37 views

Caches and Website Screen Shots

If I am creating a website to filter retail websites, like shipping or eco-friendly, etc. Could I use the screenshot of the homepage as the icon to link to the direct website? Ie. if my filters ...
1
vote
1answer
181 views

Why is my cache manifest failing?

I have created the following cache maniest file- CACHE MANIFEST CACHE: http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js ...
0
votes
2answers
100 views

Optimizing data downloaded via 'link' media queries and asynchronous loading

I have a website that tries to make sensible use of media queries and avoid 'expensive' CSS for users of mobile devices. My eventual goal is to make it 'mobile-first' but for now, since it is based on ...
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 ...
224
votes
42answers
16k 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 ...
1
vote
2answers
320 views

Google Cache CSS and HTML files are out-of-sync

I am monitoring the cached version of the main page of one of my sites. I have noticed something strange. Obviously, the cached pages is displayed with the latest CSS file. Yet, the page content is ...
-1
votes
1answer
700 views

PHPFox caching? [closed]

I run a big phpfox website and I currently have server setup as follows: nginx (reverse proxy) --> Apache for dynamic content are there other ways to cache content with phpfox? I can't use memcache ...
3
votes
1answer
481 views

Visitors have old website cached in their browsers

My client's new website is example.com, the old website is example.co.uk. I've re-pointed the A Records to the new website (so as to leave the emails alone) and put in 301 redirects from old pages to ...
3
votes
1answer
2k views

How to do a cacheable redirection?

When users enter my website example.com, their "preferred" language is detected and they are redirected (using a 301 Moved Permanently redirection) to example.com/en/ (for English), example.com/it/ ...
2
votes
1answer
63 views

Curious about a cached old domain

I am a bit curious about my new domain. I had a domain before, let's say http://example.com/. Before expiration of that domain, I bought a new one with the name http://another-domain.com/. I uploaded ...
8
votes
3answers
199 views

Is it worth it to change my entire user images file structure to take advantage of simple browser caching?

On one of my mobile sites, I simply store my user's profile images as '1.jpg' in their user folder, and incrementally go from there for any extra pics they upload. This means that whenever they change ...
2
votes
2answers
2k views

Domain expired- possible to find content that was on websites?

I had a domain that I let expire, and was subsequently purchased by someone else. I have several links on my website that are now directed towards their new site. I was wondering if it is possible to ...
5
votes
2answers
193 views

My old webhost has gone out of business. How can I recover the text of my website?

I found my website in the Wayback Machine a few months ago. My old webhost stopped paying for their servers back in August without any notice. I was going to do a backup the day it happened. Is ...
6
votes
2answers
3k views

Cache external static scripts?

In my never ending quest for a faster website, I thought perhaps I could cache some scripts. I'm using Yslow to rate my site, everything is pretty much A (which is great, our website on Pingdom loads ...
2
votes
1answer
2k views

Google Chrome audit: resources are explicitly non-cacheable?

If I run a Google Chrome audit on a site, it lists all CSS, PNG, JPG, JS files and even the main domain (i.e. www.example.com) under the heading: Leverage browser caching The following resources ...
3
votes
1answer
211 views

Discrepancy between Google cached meta description and description in search result

I have developed a 1 page website to deal with time zone world clocks. I have noticed that Google has the latest version of the page in its cache, so it has access to the latest meta description. ...
2
votes
3answers
735 views

How to make CloudFlare Cache all pages

CloudFlare seems to only cache my homepage, and I am wondering if there is a way to force it to cache all pages. Notice it when BlueHost went down today and only my homepage is cached by CloudFlare. ...
5
votes
3answers
213 views

How can I make a “backup” that can serve static pages if the main site goes down?

We've got one server running our company's website. Unfortunately, it sometimes experiences problems. Is there a way to set up another server to serve the static websites, in case the original server ...
3
votes
2answers
588 views

Find old web content via Google cache or similar

I have a bit of a problem. My client is running a Joomla 1.0 site and some content (text) was lost. There was no backup configured of the MySQL database. The content was lost approx. around the 16:th ...
0
votes
0answers
333 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 ...
1
vote
2answers
193 views

Cloudflare displaying cached CSS in-line?

I recently enabled CloudFlare on my domain, and when I make HTML statements like this: <link href="css/main.css" rel="stylesheet" /> The CSS gets displayed in-line, like this: ...
7
votes
2answers
2k views

Chrome causing 404's ending with “/cache/[hex-string]/”?

Since the last weeks we see many 404's on our sites caused by Chrome adding /cache/[hex-string]/ to the current page URL. The hex strings we have seen are: e9c5ecc3f9d7fa1291240700c8da0728 ...
0
votes
0answers
9 views

Non-dynamic CMS [duplicate]

Some of the web sites I visit every day (news, sports, etc..), although the content changes very often (several times per day), the URLs always have .html extension, what makes me thing that the ...
2
votes
1answer
271 views

Appcache and jquery mobile on a CMS powered site?

Has anyone used the cache manifest to make a CMS site work offline? I've made a demo with static html files which seems to work fine, so I'm assuming it wouldn't be too hard to achieve the same thing ...
1
vote
1answer
360 views

Joomla sometimes messes up URLs, probably cache involved

Every once in while my Joomla site messes up link's URLs. For example, something like this: http://www.sism.org/index.php?option=com_comprofiler&task=userslist&listid=4&Itemid=123 Become ...
1
vote
2answers
79 views

Cache website via CDN for visitors, not for users

I'm not sure what this is called. For example, if you're logged out of Reddit, you see a cached, static version of the site from the CDN. When you're logged in, you don't hit the CDN and instead ...
3
votes
4answers
2k views

how should cache control be set in the requests

i know that cache control headers can be set on the pages coming out from the web-servers (that is responses). Does anyone know how cache control header should be set on the requests? Should it be ...
7
votes
4answers
321 views

Any ideas why Google not caching my site?

The site is www.books-for-children.com, developed in Wordpress CMS. It was launched about two months ago and still has not been cached by Google, which seems highly unusual. Any ideas where I might ...
4
votes
2answers
475 views

Mediawiki much slower in Firefox

I've a couple of Mediawiki (1.19.1 with Vector Skin) sites on Dreamhost shared hosting and I've found that access trough Firefox is much slower than trough Chrome. For example at this moment, after ...
5
votes
1answer
3k views

HTTP Header Cache Time: s-maxage and max-age

I am setting up a CDN for my website, I found the following sample for adding to the 'httpd.conf' file, this is used to adjust the cache-time for client and CDN: ExpiresActive On ExpiresByType ...
3
votes
1answer
260 views

Difficulty enabling caching on inherited site

I have been asked to work on a corporate website a previous employee had created. The site is on shared GoDaddy hosting. One of the first things I noticed (after the 140KB JPEG on the front page, ...
1
vote
5answers
163 views

Website caching site

Google and archive.org both cache/archive sites, however neither of them are fast enough and they don't cache everything. Is there some site where you can input a url and it will go grab it and store ...
0
votes
1answer
1k views

What response headers encourage 304-Not Modified upon reloads?

When looking at the network waterfall in Firebug/Chrome/IE9, I keep seeing "200-OK" instead of "304-Not Modified" for many cache-able files (images, js, css) on this page, for example. I believe it ...
1
vote
1answer
141 views

Potential issues with multiple home pages

I have a site where I want to have two different home pages: a general description page for anonymous users, and a dashboard page for logged-in users. I am debating between two implementations: ...
1
vote
1answer
109 views

Setting Cache-Control and Expires headers for the end client only

I am trying to add explicit caching to 301 redirects. However, I am worried that a permanent redirect for one user might not be permanent for another user. So I'd like to use Cache-Control: no-cache ...
1
vote
2answers
1k views

How to get browsers to only download CSS/Javascript when it changes?

I had an epiphany earlier when reading codinghorror. On a content website (blog/forum/website) the basic things rarely change if at all. So I was wondering if there was a way to cache them and only ...
0
votes
2answers
114 views

Make browsers not to make HTTP requests for cached items

I know that http caching and sending 304 response is to save some bandwidth and of course some load time. However in my web site there are about 40 css stylesheet files and 20 javascript files (don't ...
1
vote
1answer
172 views

IIS and content caching

I'm a web developer and administer of a Windows 2008R2 Cloud Instance with IIS 7. I recently made an update to our website, but when I revisited the website, the website was being viewed with old ...
1
vote
2answers
795 views

Cache a resource across HTTP and HTTPS

Is there a way to specify that a resource should be cached when accessed over both HTTP and HTTPS? We have lots of static content that is initially served over HTTP and then re-served over SSL when ...
6
votes
2answers
2k 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 ...
5
votes
3answers
2k views

expires headers and forcing cache-loading instead of 304?

so here is a little mystery. google analytics javascript somehow always loads from browser cache on F5 (in Firefox). i cannot get the same thing to happen with my own scripts. here are the headers ...
2
votes
2answers
1k views

Why is my website cached so aggressively?

Whenever I update my website by uploading a new index.html or index.php, it always takes a long time (e.g. hours or days) for that change to propagate to my browser. Even when I hit F5, I still get ...
1
vote
1answer
188 views

Forcing browser to load new image

I have recently been doing some image replacement work for a client, he sends me the new image png files and I upload them replacing the old ones with the new ones ( keeping the same name ). I tell ...
3
votes
0answers
777 views

Can't reach site from Firefox and Chrome but works fine using Safari [closed]

I've got a virtual server running Ubuntu which I recently set up. As I was trying to learn how to deal with vhosts and serveraliases I made a few errors before I finally managed to get the vhost files ...
12
votes
1answer
15k views

Headers to prevent 304/If-modified-since/HEAD requests

What headers should I be sending to outright stop all requests to the server after the content has been cached? We have a very high latency server (Sigh, VMWare) so even sending a HEAD request to the ...