1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-01 06:50:26 +02:00

minor modification: max-age=3600 means 60 minutes

This commit is contained in:
Mazhar Zandsalimi
2019-11-29 10:09:26 +03:30
committed by Kamran Ahmed
parent c2f077a3ba
commit 8a5c40edf3

View File

@@ -128,7 +128,7 @@ Cache-Control: max-age=3600, no-cache, public
```html
Cache-Control: max-age=3600, public
```
it would mean that the content is publicly cacheable and will be considered stale after 60 seconds
it would mean that the content is publicly cacheable and will be considered stale after 60 minutes
##### s-maxage: seconds
**`s-maxage`** here `s-` prefix stands for shared. This directive specifically targets the shared caches. Like `max-age` it also gets the number of seconds for which something is to be cached. If present, it will override `max-age` and `expires` headers for shared caching.