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
4answers
3k 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
324 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
526 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
4k 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
298 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
166 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 ...
1
vote
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
150 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
133 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
118 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
176 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
900 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
3k 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
198 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
809 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 ...
1
vote
1answer
1k 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
2k 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
356 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
71 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
224 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
136 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
201 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 ...
10
votes
2answers
212 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
218 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
142 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
681 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 ...
1
vote
1answer
417 views

How to refresh Google Reader cache for a specific domain

Brief history domain.com was associated with a blogspot. domain.com changed to an institutional site and features a small code instructing which file should be retrieved by RSS readers. <link ...
3
votes
1answer
145 views

Problem with browser caching images

I'm sure many site admins must deal with this sort of problem all the time, but I don't have a really good and simple solution myself. It is what happens when you overwrite an existing image on the ...
4
votes
1answer
1k views

How to fix “Leverage browser caching” error from Page Speed plugin

I'm using the Page Speed Firebug plug-in to check my sites. But I don't know how to fix the "Leverage browser caching" error, since I don't know you specify a cache lifetime to the browser in images ...
2
votes
1answer
367 views

Downloaded file is from stale cache

I've FTPed a new installer file (for an app I'm maintaining) up to a server on the web, replacing the old installer file. My boss has already sent an email to our users saying "get the new installer ...
3
votes
3answers
323 views

Getting google to reindex faster

We run a high-traffic site for a large organization and it was compromised through an editor account. The attacker was able to poison the google cache, and the visible result to us is that if you ...
1
vote
2answers
38 views

Confusing caching issue-DNS

Yesterday I changed my DNS servers to point to a different server. This change has still not been displayed on my own computer, but it does from other computers around the world (checked using ...
2
votes
1answer
129 views

Caching preventing users seeing site updates

I'm experiencing a caching issue I can't explain. This is happening across browsers, IPs and ISPs. If a user force-refreshes, they see the new content. If they then refresh or return to the page, the ...
0
votes
1answer
270 views

google cache grabber [duplicate]

Possible Duplicate: How to recover a website from google cache? Does anyone know a script to grab all contents of a site from google cache?
3
votes
1answer
188 views

Image not updating for some users

I don't know if this is the best practice, but we added an image with a snow delay for our school. For some users the image wouldn't come up. Is this a matter of the browser or something else? I had ...
2
votes
2answers
99 views

How to explain visitors that we don't control Google's results?

I have a message boards. Once in a while, some people contact us to remove anything related to them. We comply and delete all the posts and all traces. Some of those visitors still complain that they ...
1
vote
1answer
70 views

With the following settings shown here, will there be any caching in Firefox?

browser.cache.disk.enable = false browser.cache.memory.enable = false network.http.use-cache = true With the following settings above, will there be any caching in FF? Does the disk.enable and ...
1
vote
1answer
282 views

Why does IE still save and update files in the temp folder when caching is off?

In IE I changed the cache setting to "Every time I visit the web page" However, I noticed in the directory \Local Settings\Temporary Internet Files that the files are still being stored in here ...
2
votes
1answer
525 views

Problem with Expires/Cache-Control Headers

I'm using Apache 2.2.16. I've got the following HTML file in my htdocs folder: <html> <link media="screen" type="text/css" href="/css/test.css" rel="stylesheet" /> ...
5
votes
1answer
2k views

Can I expect browsers to cache static content served over SSL encryption?

With all the talk about FireSheep I am thinking of switching my web applications to use full https accross the entire site. However, I am concerned about caching. I use a lot of JavaScript, CSS files, ...
7
votes
6answers
713 views

drupal site speed increase

I'm using a drupal site with a theme from rockettheme. The users are member users. The problem is for unknown reason the site is very slow. Takes around 20 seconds to open the page. I have tried ...
5
votes
1answer
976 views

No mod_expires or mod_headers in apache, how can I cache images/js/css files?

Title says it all, we do not have control over our server environment and although we can request for them to recompile apache for us it will not happen overnight. Is there anything we can do is ...
1
vote
3answers
80 views

What type of websites shouldn't use a cache?

Is there ever a time when you should use caching? Like for frequently updated pages? Or, should you always cache? Please give examples and reason?
17
votes
1answer
323 views

How do I prevent Google from serving a cached version of my site?

From what I understand I can tell Google to remove pages from their archive if I add the header: <meta name="ROBOTS" contents="NOARCHIVE" /> But won't this also remove the page from search ...
4
votes
2answers
201 views

How can I cause a browser to download a new copy of a web page when it thinks that its cached copy is still valid?

Sometimes when I make small changes to a website, I notice that certain browsers are very stubborn about downloading the page again. Both F5 and CTRL-R are worthless and the only way to fix it is to ...
1
vote
1answer
1k views

Is there any way to invalidate all memcache entries that begin with “User*”?

I recently made a change to my User class (which is memcached); is there any way I can invalidate all entries whose key begins with User without invalidating the entire cache? If not are there any ...