The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
29 views

How can I set the PNG expires headers in a WordPress site?

In my website I have the expires headers settings reported below. When I use Google's PageSpeed Insights test I get the message: XYZ.png expire headers not set, which I'm getting for all the PNG files ...
2
votes
1answer
99 views

Cache control header specified in .htaccess is not working for static files

I'm trying to use Google PageSpeed Insights to speed up my website - www.edmhunters.com. First off, here is what my .htaccess file looks like # ...
1
vote
1answer
73 views

Caching of JS and CSS files – Apache mod_headers doesn’t take effect

As suggested by an answer on SO, I'm trying using a version number on my JS and CSS files so that the browser will only make a request when the JS or CSS version number is changed in my PHP file. To ...
0
votes
0answers
15 views

Cache control using WAMP

So I tried to allow cache by using <meta http-equiv="Cache-control" content="public, max-age=31536000"> but I'm not pretty sure if the contents are being cached. Although I receive a 304 code ...
3
votes
1answer
63 views

What's the minimum age for a Cache-Control header with Akamai?

We're planning an integration with a CDN (likely Akamai) and are trying to determine how low we could go for a max-age value. For a site that could get a few hundred thousand folks hitting the site ...
2
votes
1answer
282 views

Can I set Cache-Control in the .htaccess file for a specific part of a document (just a section of the <body>)

I noticed, by using Google Page Speed Insights, that if I structure my HTML to load the critical, above-the-fold content first, my page will improve performance - and it woks (with now current perf. ...
7
votes
1answer
235 views

Why is “29030400” seconds used as a common value for cache expiration?

I noticed that 29030400 is used very often in the Expires directives for static files. Google recommends to cache this kind of files up to 1 year (1 month at least). I did the math: 29030400 seconds ...
1
vote
1answer
883 views

Why is this response being cached?

I have a client whose site's index.html currently comes back with these headers: Accept-Ranges: bytes Connection: Keep-Alive Content-Encoding: gzip Content-Length: 3658 Content-Type: ...
0
votes
0answers
39 views

Conservative caching refreshes my site weirdly

I have site built in Joomla! 3.1. I spent last 2 hours trying to solve an issue: with Conservative Caching activated, my front-end auto-refresh in 8seconds. I set cache time to 25minutes, but for some ...
2
votes
1answer
28 views

Ideal cache times for browser caching times for different file types?

I am trying to improve my site's performance - and that includes caching. I found some great caching via .htaccess from the boilerplate html5 template - but the cache times seem odd. Does anyone ...
1
vote
2answers
70 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
48 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
97 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
737 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
770 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
131 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
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
111 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
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
281 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
131 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
193 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
113 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
228 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
297 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
69 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
271 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
500 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" /> ...
17
votes
4answers
2k 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, ...
5
votes
1answer
936 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
974 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
244 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