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

        Eduardo Fernandes (Inactive) created issue -
        Eduardo Fernandes (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Ricardo Correia (Inactive) made changes -
        Status Confirmed [ 10037 ] InputQ [ 10001 ]
        Joao Inacio (Inactive) made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Joao Inacio [ joao.inacio@ez.no ]
        Joao Inacio (Inactive) made changes -
        Status Development [ 3 ] Development Review [ 10006 ]
        Joao Inacio (Inactive) made changes -
        Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
        Fix Version/s 5.4.5 [ 14490 ]
        Assignee Joao Inacio [ joao.inacio@ez.no ]
        Paulo Nunes (Inactive) made changes -
        Status Documentation Review done [ 10011 ] QA [ 10008 ]
        Paulo Nunes (Inactive) made changes -
        Assignee Paulo Nunes [ paulo.nunes@ez.no ]
        Status QA [ 10008 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        André Rømcke made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        André Rømcke made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Fix Version/s 2015.12 [ 14489 ]
        Resolution Fixed [ 1 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 95970 ] EZEE Development Workflow [ 125113 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: