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

don't delete cache blocks if a specific class is published

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • None
    • Misc
    • None
    • Version: 3.x
      PHP Version:
      Webserver:
      Database:

    Description

      Hi,

      the cache-blocks are deleted, if a new object is published. Also if a "new user" is created.

      It would help, if you introduce an ini-setting like:

      IgnoreCacheBlockClasses[]
      IgnoreCacheBlockClasses[]=user

      and check if the published object is in this array before deleting the cache-blocks.

      Maybe the "user-class" is a bad example. e.g. if you have a flash-class and this class never appear in a cache-block it make no sense deleting the cacheblock-cache after create / edit / deleting an object of the flash-class.

      Kind regards,
      Emil.

      Attachments

        Activity

          People

            unknown unknown
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: