I came cross a case where the Cache-Control: public, max-age=31622400, immutable which make 366 days, however it seems the best practice to be not greater than 31536000 which makes it 365 days, my question is, is the max-age considered invalid date if the number of seconds is 366days or more? also will be helpful if you can refer links or docs
Is it true that any time duration longer than 1 year of HTTP res header directive `Cache-Control max-age` consider invalid
142 views Asked by Yusuf At
1
There are 1 answers
Related Questions in CACHING
- Using Puppeteer to scrape a public API only when the data changes
- Caching private wordpress rest endpoints
- Cloudflare not respecting Cache-Control
- Unexpected Recursive Call
- Cannot serialize (Spring Boot)
- Nginx only caches file endpoints
- The Selenium application properties folder holds two environment options. After running a test the environment setting changes to a previous setting
- Launch jobs in cache in a loop in bash script
- Multiple async request do not store anything to cache
- Dev tool for Next.js cache on the client?
- Creating a letter in the terminal by entering
- Laravel: check if cache has key with thag
- The retrieval time for the Apache Ignite cache is too long
- How to run gradle with caches files
- Docker Run cache mount does not cache apt-get dependencies
Related Questions in HTTPS
- HTTPS configuration in Spring Boot, server returning timeout
- HTTP Requests from SSL Secured(HTTPS) Domain Failing
- My VPS does not accept HTTPS requests on a port other than 443
- Let Artifactory use HTTPS settings
- How to move updates from Google Play to another server
- Does a 403 error occur if there is no user-agent on the proxy network?
- How to fix HTTPS on express-gateway
- Can we check whether s3 bucket is currently accessed via http in any 1 of the account
- java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSL.renegotiatePending(J)I
- How do I fix this "Internal Server Error" I keep getting?
- Permission denied error on pfx certificate in docker ASP.NET Core 8 HTTPS on Ubuntu
- Mac Sonoma 14.4 Dotnet 8.0.203 SDK webapi https error
- Connect to wss that uses the same port as the rest of backend using nginx
- TLS: failed to verify certificate: x509: cannot validate certificate for <IP> because it doesn't contain any IP SANs
- Preventing Data Tampering in HTTPS Requests: Safeguarding User-Initiated Donations
Related Questions in CACHE-CONTROL
- Is it possible to force a browser to use the same cache entry for different paths?
- okhttp cache-control no-cache processing strategy
- Why does the browser force revalidation when serving an initial document request?
- Light speed working on private window(incognito) while not working in normal window of a browser
- Application slowness issue in Chrome
- souin cache, revalidating cached objects in the background while serving stale ones
- NGINX : Static resources missing. Server response code 304
- Flutter: How to extend the age of the cached image
- How do I add Cache-Control with no-cache and no-store header in Spring Boot?
- Nextjs cache and cloudflare cache are not synced with getStaticProps revalidation
- object metadata (cache control) being deleted whenever new version uploaded?
- How to Troubleshoot Resource Caching Issues in Chrome?
- How to stop Starlette from setting "Cache-Control: no-cache"?
- Unable to Override Cache Control response headers in ASP.net Web API using OwinMiddleware for signalr/negotiate signalr/start calls
- Expires headers and cach control headers on but page speed test showing cache policy error
Related Questions in MAX-AGE
- Cache control max-age 0 vs missing max-age
- Cache-control set to 8 hours from Java end is getting overridden by no-cache from server
- Activated AWS CDN - Keep receiving "X-Cache: Miss from cloudfront"
- Why does Google Chrome not honor the caching headers?
- Is it true that any time duration longer than 1 year of HTTP res header directive `Cache-Control max-age` consider invalid
- Add cache_control and etag in django class based view
- Revalidation max-age=0, must-revalidate, no-cache no risk 504
- Make cookie secure
- Supabase cache max-age not being respected by Chrome
- Setting Cache-Control metadata via gsutils does not update response headers
- Add Max-age to Big Commerce CDN Images
- HTTP Cache-Control header max-age vs max-age, must-revalidate
- ASP.NET Core 3.1 Session MaxAge is not working
- Golang Cookie Max-Age vs Expire
- how to implement .htaccess file in angular project with no backend
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
There is no particular limit on the value of
max-age. You can see that in the RFC definition ofmax-age(and delta-seconds).The reason people sometimes use a one-year limit is that an old version of the specification limited the expiration time given by the
Expiresheader:This is what the current specification says on that subject: