Details
-
Bug
-
Resolution: Fixed
-
High
-
2.3.0-rc1
-
eZ Platform with Varnish
Description
When using Varnish, the TTL for the whole page can be set to a much higher value than the default TTL in the system. It happens when block visibility feature is used.
Steps to reproduce;
0. Use default value (86400) as the system TTL
1. Login as admin
2. Go to Page
3. Create new Landing Page
4. Add Code block
5. Set that the block should be revealed in 2 weeks
6. Submit
7. Publish Landing Page
8. With varnish log (or something else) one visit the Landing Page on the frontend
Expected:
S-maxage for the whole page is set as min(global TTL, block visibility TTL) = 86400
Actual
S-maxafe for the whole page is set to the block visibility TTL (in this case: 2 weeks).
Attachments
Issue Links
- discovered while testing
-
EZEE-2494 Invalid timestamp generated for events when changing airtime of queued item
- Closed