bito-code-review[bot] commented on PR #43904:
URL: https://github.com/apache/superset/pull/43904#issuecomment-5549744475
<!-- Bito Reply -->
The description in the documentation is technically accurate regarding the
behavior of `no-cache`. While `no-cache` does allow a browser or shared cache
to store the response, it mandates that the cache must revalidate the response
with the origin server before using it. In the context of the stale URL, this
ensures that the browser does not rely on the potentially outdated version
stored locally, effectively preventing the use of the stale content without
checking for updates first.
**docs/admin_docs/configuration/configuring-superset.mdx**
```
- If a cached HTML page references a version that's since changed (e.g. after
a translation update or upgrade), the endpoint still serves the current
pack, but with `Cache-Control: no-cache` so that response isn't cached
under
the now-stale URL.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]