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

Question: Is there a way to flush cache based on Language?

    XMLWordPrintable

Details

    • Task
    • Resolution: Not an issue
    • Neutral
    • None
    • 5.4
    • None
    • None

    Description

      Is there a way to clear caches per locale/language.

      For example, if we wanted to clear the cache only for /es/ and not /de/, and not (/ or /en), is that possible somehow?

      Our use case is related to how we want to do translations from english to other languages.

      Example:

      1. Homepage gets created in english and is live at 'domain.com/'
      2. Page gets translated to Spanish and is live at 'domain.com/es/'
      3. Homepage gets edited or modified with more English content
      4. We flush cache only for English and not on Spanish
      5. After Spanish is translated the cache is individually cleared on 'domain.com/es/' (via REST API or through the UI)

      Been looking through these docs:
      https://documentation.magnolia-cms.com/display/DOCS/Cache+core

      Looking at Flush Policy and also looking here:
      https://documentation.magnolia-cms.com/display/DOCS/Advanced+Cache+App+module

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              wpaoli William Paoli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR