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

Increase view cache performance by using include instead of file_get_contents

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 4.2.0
    • Fix Version/s: Future
    • Component/s: Caching
    • Labels:
      None

      Description

      APC and most other php opcode caches are able to cache files if they are php files and included as one.

      This will mean format of cache files will need to change and all cache will need to be cleared.
      Additional benefit is that no unserialize call is needed anymore.

      Note: This should be taken together with larger cache system refactoring.
      For instance classes could be used for cache files to make sure you can use class_exist( <name>, false ) to see if file has already been loaded (nice for compiled templates for instance).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                unknown unknown
                Reporter:
                andre1 André R
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: