2
votes
1answer
151 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
199 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 ...
2
votes
2answers
510 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?
1
vote
1answer
105 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 ...