Skip to main content

Questions tagged [cache-control]

0 votes
1 answer
43 views

Do cache-control header directives work on browser page that don't refresh?

I'm currently testing out ways for our users to not have to refresh/reload their page to see our latest client side changes after deployment. I have looked into cache-control header directives no-...
aab's user avatar
  • 3
0 votes
0 answers
28 views

Users see old data build up on webpage as they use it

Clearly a sportsbook. Top image is what user should see - the current live lines offered by sportsbook. Middle and bottom image combine to show view of what they actually see as they scroll down page -...
Randy's user avatar
  • 1
2 votes
1 answer
706 views

How are multiple cache-control lines interpreted?

These HTTP headers were returned from a request to a website I am responsible for: cache-control: private, max-age=0, must-revalidate cache-control: max-age=300 I read somewhere that the most ...
elgrandeperro's user avatar
2 votes
1 answer
477 views

How does hash in file name affect google image search ranking?

In terms of cache optimization it is recommended for static files like images to cache them forever. In this case if you want to update an image you have to use a different file name so that the ...
Sr. Schneider's user avatar
1 vote
1 answer
339 views

Default cache-control directives (and behaviour) when header returns only private

I just checked the cache-control header returned by webmasters.stackexchange.com. The only directive present in the response is cache-control: private. In this case, what are the default values for ...
Kannan's user avatar
  • 2,353
0 votes
1 answer
51 views

Why do servers cache Web pages even though they know the Web page will be changed in the future?

For performance, some Web pages get cached. This is because the server can then speed up page load time: Without a cached copy +--SERVER--+ +--CLIENT-...
no ai please's user avatar
0 votes
2 answers
66 views

Using Cache to make website faster

I am building a website with node.js express webserver and i use Mongo db database. On my website people can register a profile they can upload pictures and write text. Now i hear often that many ...
James Butler's user avatar
2 votes
1 answer
1k views

Cache-Control for ads.txt, robots.txt and sitemap.xml files that are generated dynamically

I have some "static files" that I build on the fly, because they are generated dynamically. ads.txt robots.txt sitemap.xml What is the ideal Cache-Control for those files? PS: My server is ...
cbdeveloper's user avatar
2 votes
1 answer
324 views

What's the difference between access and access plus in ExpiresByType directive?

I have seen: ExpiresByType image/jpg "access 1 year" But also: ExpiresByType image/jpg "access plus 1 year" So, what's the difference between those two lines ?
Andrei's user avatar
  • 137
1 vote
1 answer
55 views

What types of files does ExpiresDefault include?

I have: ExpiresActive On ExpiresByType image/jpg "access 1 years" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType image/gif ...
Andrei's user avatar
  • 137
2 votes
2 answers
856 views

How ExpiresByType and Header set Cache-Control works together?

I have: ExpiresActive On ExpiresByType image/jpg "access 2 years" And let's say: <filesMatch ".(jpg|jpeg|png|gif)$"> Header set Cache-Control "max-age=31536000, ...
Andrei's user avatar
  • 137
1 vote
0 answers
31 views

Understanding mod_expires apache module [closed]

Working with htaccess is a new capitol for me. I have already read about mod_expires here https://httpd.apache.org/docs/current/mod/mod_expires.htm, but I'm stil confused. I have the next code from ...
Andrei's user avatar
  • 137
1 vote
0 answers
107 views

Understanding .htaccess cache rules [closed]

I talk about cache, and I don't know any cache system that is interested in keeping my files, for me, and for free. And, as I read, there are almost 5 other cache systems triggered when a user/client ...
Andrei's user avatar
  • 137
4 votes
1 answer
2k views

On startup, Chrome ignores "cache-control: no-cache" and does not revalidate when configured to "Continue where you left off"

I am working on a web-based editor, where I can edit HMTL pages online. I have my Apache webserver configured to send Cache-control: no-cache with all responses, which means that: The response may ...
Sam Watkins's user avatar
1 vote
1 answer
6k views

How to cache Images & JS files on static HTML page

I want to cache image & JS files on a static webpage. and trying to improve browser cache score, after adding following tag it doesn't make any difference to the cache score which remains at 49. ...
Learning's user avatar
  • 701

15 30 50 per page
1
2 3 4 5 6