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

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
192 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
191 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 ...
5
votes
2answers
2k 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
192 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
684 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. ...
4
votes
3answers
203 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
552 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
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 ...
1
vote
2answers
183 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: ...
6
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
269 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
355 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
77 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
319 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
450 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
245 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
162 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
939 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
107 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
112 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
168 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
739 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
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
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
180 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
754 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 ...
10
votes
1answer
13k 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 ...
1
vote
1answer
688 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 ...
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 ...
1
vote
1answer
344 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. ...
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
1answer
217 views

How to update DNS Zone for a static domain

I am running this site: www.thetechnofreaks.com on Wordpress. Recently I came across a plugin that claims to increase the page load efficiency of my site. the plugin details can be found here: ...
3
votes
1answer
129 views

Can server break clients' cache settings?

I have disputed a domain name to a cybersquatter that I expect to recover soon. The problem is that the cybersquatter has changed the cache headers and now every user who already visited the site or ...
0
votes
1answer
189 views

Clear the cache of the last visited page

I have an HTML page that has shows if a server is online of offline via an IFRAME transcluding a php file. If someone clicks on a link, like to turn the server on or off and presses the Back button ...
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 ...
2
votes
1answer
214 views

Set expiry date for image or resource

How do I set expiry date for an image? Is this a server side operation or can it be done as an html tag attribute? What if I only want to set different expiry dates for different images/resources?
0
votes
1answer
1k views

Leverage browser caching and Specify a cache validator?

http://gtmetrix.com/reports/enji.se/RVzr15zT That's what my result looks like! Does anyone know how to fix Leverage browser caching and Specify a cache validator? I've googled it but didn't find ...
1
vote
1answer
136 views

Retrieve static webpage on client cache from dynamic content

I was developing a website on a certain web host and they lost everything. They told me their disks crashed and even the backup are unretrievable. I am mad. As I was often accessing my website ...
3
votes
1answer
548 views

Index of Content on a Defunct Website/Blog

Is there a way to find the content on a defunct website or blog? How do you find the content that was on a website from two or three years back? Google cache doesn't appear to hold information from ...