The cache-control tag has no wiki summary.
1
vote
2answers
38 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
0answers
25 views
Expiry date in response header contradicts the cache-control setting
I have set up a very long expiry on some files in my .htaccess (this is OK as I change the actual filename whenever its content changes).
<FilesMatch ...
1
vote
1answer
31 views
Etags are not appearing on PHP pages
My hosting provider (goDaddy) seems to be adding eTags to my files.
However I've noticed that they are not appearing on .PHP file (they are on .HTM, .CSS, .JS and images). Is this normal?
From my ...
2
votes
3answers
224 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. ...
2
votes
2answers
145 views
What is the default behavior of Cache-Control
If no private nor public were defined in the cache-control, e.g.
Cache-Control: max-age=31461276
What is the expected behavior?
0
votes
1answer
86 views
How to ensure apache2 reads htaccess for custom expiry?
I have a site with Apache 2.2.22 . I have enabled the mod-expires and mod-headers modules seemingly correctly:
$ apachectl -t -D DUMP_MODULES
…
expires_module (shared)
headers_module (shared)
…
...
0
votes
1answer
545 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
94 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 ...
0
votes
2answers
88 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
100 views
Is it possible to invalidate cache when the referrer adress is different?
Suppose I serve an image and if someone visits from a forum then I want it to download that image. If they visit again from the same forum then I want it to use cache, but if they visit from another ...
3
votes
1answer
120 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
167 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 ...
4
votes
1answer
96 views
a css or js of same name from multiple sites or multiple pages of same site
When a css/js refers on a webpage it is first downloaded to client machine. From the next time it is referred from browser cache (if it presents). Please tell me
What happens when multiple sites ...
1
vote
1answer
207 views
What's the best way to version CSS and JS URLs - part 3
this is a follow up question to this one What's the best way to version CSS and JS URLs - part 2
If I have my static files on Amazon cloudfront and have the file's URLs mentioned in my code. How will ...
1
vote
1answer
249 views
What's the best way to version CSS and JS URLs - part 2
This is a follow up question on the following question
What's the best way to version CSS and JS URLs
Both of the solutions mentioned there would require modification to the files where the css and ...
1
vote
1answer
66 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
207 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
415 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" />
...
15
votes
4answers
1k views
What's the best way to version CSS and JS URLs?
As per Yahoo's much-ballyhooed Best Practices for Speeding Up Your Site, we serve up static content from a CDN using far-future cache expiration headers. Of course, we need to occasionally update ...
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, ...
4
votes
1answer
780 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 ...
14
votes
1answer
691 views
What are the hard and fast rules for Cache Control?
Confession: sites I maintain have different rules for Cache Control mostly based on the default configuration of the server followed up with recommendations from the Page Speed & Y-Slow Firefox ...
4
votes
1answer
234 views
Far Future Expire Headers
Do you use these? If so, what strategies do you have for managing changes to the files?
http://developer.yahoo.net/blog/archives/2007/05/high_performanc_2.html