Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2448

Block scheduler TTL overrides default TTL

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.3.0
    • 2.3.0-rc1
    • Page Builder
    • 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

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: