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

wildcard_index cache is loaded in a wrong way

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 4.0.4, 4.1.1
    • Caching
    • None

    Description

      in kernel/classes/ezurlwildcard.php, we can find this:

              $cacheFile = eZClusterFileHandler::instance( $info['path'] . "_index.php" );
      
              if ( !$cacheFile->exists() )
                  return false;
      
              $fetchedFilePath = $cacheFile->fetchUnique();
              include_once( $fetchedFilePath );
              $cacheFile->fileDeleteLocal( $fetchedFilePath );
      

      It means that everytime this file is loaded, it is copied as a unique file, its contents included, and the locally fetched unique file is removed... unless there was a valid reason why this was implement this way, it should be changed to the standard way of loading caches.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: