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

Implement multiple methods for content cache subtree directories

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 2013.06, 5.1
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
    • Environment:

      Any

      Description

      Until now, cache content files are stored in sub directories.

      Those directories are created from filename splited caracter by caracter.

      Let's take example with a node id 7856354. It would be stored in CacheDir/content/<siteaccess>/7/8/5/6/3/7856354-md5.cache

      It would be usefull to add other methods to create those sub directories.

      • Method "2by2" : the cache would be stored in CacheDir/content/<siteaccess>/78/56/35/7856354-md5.cache

      It also would be usefull to have a method which uses the reversed string to store the cache file.

      • Method "reverse" : the cache would be stored in CacheDir/content/<siteaccess>/4/5/3/6/5/7856354-md5.cache
      • Method "2by2reverse" : the cache would be stored in CacheDir/content/<siteaccess>/45/36/58/7856354-md5.cache

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Tharkun911 Jérémy Poulain
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: