Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4673

Page cache mix for full page & partial page request

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 13.4.0, 14.0.0
    • 14.0.0
    • None
    • None

    Description

      When page cache is enabled on virtualhost/mount level, between a full page and partial page request the first one will be cached and served for all subsequent requests.

      Please find attached an archetype with the reproduction.

      Reproduction scenario 1:

      1. Make a request to http://localhost:8080/site/events
      2. Make a request to http://localhost:8080/site/events./main

      Expected result after step 2: see the events page without header, footer and styling. 

      Actual result: same response from step 1

      Reproduction scenario 2:

      1. Make a content or hst configuration change to flush the cache.
      2. Make a call to http://localhost:8080/site/events./main
      3. Make a call to http://localhost:8080/site/events

      Expected result after step 3: see the events page with a header, footer and styling. 

      Actual result: same response from step 2

      Reproduction scenario 3 (not in provided archetype):

      1. Make a content or hst configuration change to flush the cache.
      2. Make a call to http://localhost:8080/site/events./main
      3. Make a call to http://localhost:8080/site/events./head

      Expected result after step 3: see the events page head

      Actual result: same response from step 2

       

      DefaultRequestInfoCacheKeyFragmentCreator#create line 65
      requestInfo.append(request.getRequestURI()).append(delim);

      request.getRequestURI for both urls in all examples it returns /site/events

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              LKaramoulas Lef Karamoulas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: