Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The function of the <cacheLifetime> Element is described wrong #683

Open
ampaze opened this issue Oct 19, 2021 · 0 comments
Open

The function of the <cacheLifetime> Element is described wrong #683

ampaze opened this issue Oct 19, 2021 · 0 comments

Comments

@ampaze
Copy link
Contributor

ampaze commented Oct 19, 2021

The documentation says:

The cache lifetime will be sent to the client in the max-age field of the Cache-Control header. After the specified time, the cache will be invalidated on the client. The next time the page is requested, the client will send a new request to your server to update its cache.

Which is at least currently not correct, as explained by @alexander-schranz here.

<cacheLifetime>20</cacheLifetime> has no effect on the Cache-Control header because Sulu uses a custom X-Reverse-Proxy-TTL to cache the response on the server.

@ampaze ampaze changed the title cacheLifetime is described wrong The function of the <cacheLifetime> Element is described wrong Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant