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

1
vote
2answers
334 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
vote
1answer
193 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 ...
3
votes
1answer
216 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
762 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
217 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
634 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
346 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
205 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: ...
0
votes
0answers
10 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 ...
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/ ...
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
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 ...
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 ...
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 ...
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
1answer
493 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 ...
4
votes
2answers
490 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 ...
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 ...
3
votes
1answer
269 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, ...
8
votes
3answers
203 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 ...
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 ...
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 ...
6
votes
2answers
315 views

New requests for /cache/ URLs

A few weeks ago requests following this type of pattern: http://mysite/cache/7a226e8aa3a4380444a329a7b0dd0f40 http://mysite/otherfolder/cache/7a226e8aa3a4380444a329a7b0dd0f40 started to appear ...
1
vote
1answer
142 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: ...
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 ...
1
vote
1answer
121 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
votes
1answer
742 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 ...
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
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 ...
1
vote
1answer
174 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
813 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 ...
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 ...
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 ...
1
vote
1answer
191 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 ...
1
vote
1answer
361 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 ...
12
votes
2answers
16k 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 ...
5
votes
2answers
3k views

Clearing cache with CloudFlare?

Is it possible to clear or avoid CloudFlare cache while doing development? I'm developing a site that has caching on several levels - WordPress supercache, the caching done by the browser, and ...
1
vote
1answer
842 views

Cache a particular image using .htaccess

I would like to cache a particular image on my website i.e the background image. So far i only see options that allow you to define the format type(png|jpg|ico) is there anyway to let the browser ...
2
votes
1answer
272 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
349 views

Google has cached query string based dynamic page, but how/why?

I have a multipage form which works largely by posting the form details in query strings to the url. I know this isn't ideal and i've already changed it. However, what was happening is that google ...
0
votes
1answer
70 views

Website caching (using DNS)

Some time ago I landed on a website that provided a paid service that caches websites. As I understood it, the only thing I needed to do was change the DNS record of my website and point it to them. ...
3
votes
1answer
134 views

Could AJAX + caching be seen as cloaking?

I have a website where we use a technique to speed up loading times based on a combination of AJAX + caching. Basically, when we have a section in a page with content which is slow to retrieve, we ...
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 ...
0
votes
1answer
42 views

Will small random dynamic snippets break caching

I am busy writing a WordPress plugin. Now most users have cache plugins installed, they cache the pages. I know also some webservers as nginx have php caching and whatnot. There are also things like ...
1
vote
2answers
1k views

“No Cache Directory specified.” - How do I solve this?

I'm working with a website running Joomla 1.5. Right now I'm trying to update some articles and just recently when I tried to upload an image file (via the JCE editor extension) this error message ...
3
votes
0answers
787 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 ...
3
votes
1answer
2k views

How to make CloudFlare cache everything?

I want CloudFlare to cache everything, PHP files too, every request from the domain, I want it to cache it. Is this possible? (There are PHP scripts on the domain that print out images, JS and CSS, ...