Uploaded image for project: 'Cache Modules'
  1. Cache Modules
  2. MGNLCACHE-164

Browser cache policy "never" is too broad

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.5.2
    • Component/s: browser cache
    • Labels:
    • Release notes required:
      Yes
    • Documentation update required:
      Yes
    • Sprint:
      Kromeriz 80
    • Story Points:
      3
    • Magnolia Release:
      5.5.2

      Description

      The browser cache policy never is too broad. It prevents the browser from caching image thumbnails in the Assets app and preview images in the asset chooser. Users may experience this as slow performance. The browser reloads thumbnails every time the user expands/collapses an asset folder, which causes delay and feels frustrating.

      To reproduce:

      1. Go to https://demo.magnolia-cms.com/
      2. Open the Assets app.
      3. Expand the /tours folder. Image thumbnails are generated and loaded.
      4. Collapse and expand the folder again. Image thumbnails are loaded again.

      The never policy configuration was introduced Magnolia 5.5.1 (MGNLCACHE-12). The purpose was to address an issue (MGNLUI-3769) where a user adds an image in CKEditor, then crops the image in Assets, but doesn't see the edit reflected in CKEditor.

      Proposal: Remove the never policy and introduce a more specific policy
      CKEditor issue should be solved without impacting image thumbnails and previews in the Assets app, see MGNLUI-3769.

      /modules/cache/config/contentCaching/defaultPageCache/browserCachePolicy/policies/never

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rkovarik Roman Kovařík
              Reporter:
              ahietala Antti Hietala
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: