rsnext/docs
Steven b123942694
Fix minimumCacheTTL so it doesn't affect browser caching (#27307)
In a previous PR (#27200), we added `minimumCacheTTL` to configure the time-to-live for the cached image. However, this was setting the `max-age` header.

This PR ensures that `minimumCacheTTL` doesn't affect browser caching, only the upstream header can affect browser caching.

This is a bit safer in case the developer accidentally caches something that shouldn't be and the cache needs to be invalidated. Simply delete the `.next/cache/images` directory.

- Related to #19914
- Related to #22319
2021-07-19 22:38:03 +00:00
..
advanced-features Enable Alex documentation linting for docs (#26598) 2021-06-25 11:40:50 -05:00
api-reference Document full routes order in rewrites doc (#27247) 2021-07-16 18:03:50 +00:00
api-routes Change pure functions to functions (#27192) 2021-07-15 14:12:58 +00:00
basic-features Fix minimumCacheTTL so it doesn't affect browser caching (#27307) 2021-07-19 22:38:03 +00:00
migrating Docs/Typo: Replace triple dot character with real dots (#27030) 2021-07-08 21:52:59 +00:00
routing Add note about preloading to routing introduction. (#22656) 2021-03-02 03:17:43 +00:00
authentication.md docs: use descriptive links instead of "click here" (#25897) 2021-06-09 13:23:16 -05:00
deployment.md Enable Alex documentation linting for docs (#26598) 2021-06-25 11:40:50 -05:00
faq.md Update .now.sh to .vercel.app. (#22359) 2021-04-14 09:46:06 -05:00
getting-started.md docs: updated minimum Node.js version (#26528) 2021-06-23 16:05:25 +00:00
going-to-production.md Update Going to Production docs to use quote. (#27131) 2021-07-12 23:13:52 +00:00
manifest.json [docs] Layouts & Going to Production (#27021) 2021-07-12 19:04:43 +00:00
upgrading.md Mention customization of next.config.js to import images (#27104) 2021-07-12 13:16:13 +00:00