Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22266

Separate new stack and legacy stack cache clearing

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: Customer request
    • Component/s: Caching, Platform stack
    • Labels:
      None
    • Environment:

      eZ Publish 5.x

      Description

      Currently, using "php ezpublish/console cache:clear" also clears all legacy caches. Ideally, a mechanism should be in place to allow users to select on eZ Publish 5 which legacy caches to clear/not clear. This mechanism could, perhaps, take the form of an additional option or set of options for "php ezpublish/console cache:clear".

        Issue Links

          Activity

          Hide
          Jérôme Vieilledent (Inactive) added a comment -

          Hi

          cache:clear console command is managed by Symfony and is meant to clear all the cache. Only possible thing is to create another command where we can add options.

          Show
          Jérôme Vieilledent (Inactive) added a comment - Hi cache:clear console command is managed by Symfony and is meant to clear all the cache. Only possible thing is to create another command where we can add options.
          Hide
          Ernesto Buenrostro added a comment -

          Running a a --clear-all in an eZ Publish instance with some image aliases and tons of assets it is very expensive.

          A command to select the options to clear from the legacy kernel cache should be added, not having it makes pointless the use of cache:clear.

          Show
          Ernesto Buenrostro added a comment - Running a a --clear-all in an eZ Publish instance with some image aliases and tons of assets it is very expensive. A command to select the options to clear from the legacy kernel cache should be added, not having it makes pointless the use of cache:clear .
          Hide
          André Rømcke added a comment -

          Closed as won't fix, but be aware the behavior change in EZP-24048 potentially also making this obsolete depending on original motivation to request this.

          Show
          André Rømcke added a comment - Closed as won't fix, but be aware the behavior change in EZP-24048 potentially also making this obsolete depending on original motivation to request this.

            People

            • Assignee:
              Unassigned
              Reporter:
              Nuno Oliveira (Inactive)
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: