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

Browser cache policy "never" is too broad

XMLWordPrintable

    • Yes
    • Yes
    • Kromeriz 80
    • 3

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD