Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13426

LESS cache is not re-used if the request comes from a different host

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 8.1, 8.2-milestone-1, 7.4.4
    • 6.4.1, 6.2.6, 7.0
    • LESS
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Use-case:

      The cache is not re-used because the host (localhost or my-public-url) is part of the cache key.

      This has been done for the purpose of XWIKI-11731. We needed to put the URL in the cache key. But actually, only the "path" part of the URL is needed. We don't need to store http//localhost:8080/xwiki/myResource, but only /xwiki/myResource.

      This is the fix I'm going to commit.

      Attachments

        Activity

          People

            gdelhumeau Guillaume Delhumeau
            gdelhumeau Guillaume Delhumeau
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: