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

optimize usage of clearstatscache() calls

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • Future
    • 4.1.4, 4.2.0, 4.3.0, 4.4.0beta1
    • Legacy > Clustering, Misc
    • None

    Description

      Since php 5.3, it is possible to clear the php filesystem stat cache for a single file.

      Since we use clearstatscache() calls heavily in managing cache and binary storage files, we should profit of this opportunity, to get the best performance:

      . when a single file has been modified on the fs
      . use a clearstatcache( false, $filename ) call
      . instead of a plain clearstatcache()

      Attachments

        Activity

          People

            unknown unknown
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: