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

Conditional debug for template cache-blocks

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 3.9.1
    • Misc
    • None

    Description

      Having some more possibilities to debug cache block behavior would be nice. I suggest adding conditional debug statements (identifier: eztemplate-cache) to the eztemplatecachefunction class.

      One of the things that should be displayed is the unique string based on the cache block placement and the passed cache block keys, as well as the final path to the cache file to be loaded. Also information about the expiry check should be displayed.

      Example attached as a patch for the trunk.

      Attachments

        Activity

          People

            unknown unknown
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: