Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 5.3.7, 5.4.4.3
    • Fix Version/s: Customer request, 5.4.5, 2015.12
    • Component/s: Caching
    • Labels:
      None

      Description

      It seems that within the default VCL we provide for Varnish 4 and 3, when banning a specific page, the regexp is not good and should cause issue regarding cache.
      See Using Varnish.

      https://github.com/ezsystems/ezpublish-community/blob/master/doc/varnish/vcl/varnish4.vcl#L116

      The regex uses "~" and this means "contains", so if we modify location 123, it will also remove cache for location 1234, 1235, 1236 and so on. This must be changed to prevent such behavior.

      Steps to Reproduce

      1. Create an article and make sure it has a node_id similar to "142"
      2. Create more articles, and make sure one of them has a node_id similar to "142x"
      3. Open the article with the node_id "142x" and make sure you get a "HIT" on the header
      4. Edit the article with "142" and open the article with "142x" and confirm you get a "MISS" in the header

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        48s 1 eduardo.fernandes@ez.no 23/Sep/15 10:29 AM
        Confirmed Confirmed InputQ InputQ
        1m 41s 1 ricardo.correia@ez.no 23/Sep/15 10:31 AM
        InputQ InputQ Development Development
        5d 3h 50m 1 joao.inacio@ez.no 28/Sep/15 2:21 PM
        Development Development Development Review Development Review
        10m 55s 1 joao.inacio@ez.no 28/Sep/15 2:32 PM
        Development Review Development Review Documentation Review done Documentation Review done
        1d 23h 33m 1 joao.inacio@ez.no 30/Sep/15 2:06 PM
        Documentation Review done Documentation Review done QA QA
        1d 3h 34m 1 Paulo Nunes 01/Oct/15 5:40 PM
        QA QA Closed Closed
        4d 21h 3m 1 Paulo Nunes 06/Oct/15 2:44 PM
        Closed Closed Reopened Reopened
        198d 19h 1m 1 André Rømcke 22/Apr/16 9:45 AM
        Reopened Reopened Closed Closed
        4m 18s 1 André Rømcke 22/Apr/16 9:50 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            Eduardo Fernandes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: