Details
-
Improvement
-
Resolution: Obsolete
-
Medium
-
None
-
4.4.0alpha4
-
None
Description
Currently it is nearly impossible to find the cache files generated for a given cache block, due to the way the names of the cache files are generated (crc32 of the concatenation of all cache block keys, template file and line and col. of the block).
If it was possible to trace cache block files to their original cache block, it would be easy to
. gather stats
. allow on-demand clearing of the cache for a single block
It does not look hard to do: in eztemplatecacheblock.php two functions are used to calculate the path+filename of the cache files generated by a cache block.
Patching thos two calls, it would be easy to create a folder hierarchy similar to:
cache/cache-blocks/md5(filename)/line_col/md5(keys)
Attachments
Issue Links
- relates to
-
EZP-10706 Conditional debug for template cache-blocks
- Closed
-
EZP-13397 Add a query parameter to queries to force cache block regeneration
- Closed
-
EZP-15361 USEBILITY: cache block handling if the database is down/error occured
- Closed
-
EZP-17239 Add cache-block identifier parameter and possibility to clear cache-blocks by identifier
- Closed