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

Static caching system should not check existance of directories twice

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.1.0alpha1
    • 4.0.1
    • Caching
    • None

    Description

      First in eZStaticCache::storeCache(), for the site access specific static cache directories:

                  if ( !is_dir( $staticStorageDir . $dir ) )
                  {
                      eZDir::mkdir( $staticStorageDir . $dir, false, true );
                  }
      

      Later again in eZStaticCache::storeCachedFile(), for the node-specific cache directory:

              if ( !is_dir( $dir ) )
              {
                  eZDir::mkdir( $dir, false, true );
              }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: