Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.5. Caching

Caching

Let's talk about caching! The extension adds a folder inside the typo3temp directory which contains several subfolders for the different processes. If you are interested on the naming conventions of the files, you are encouraged to read the source code. Each file inside this folder contains a hash which is created with the md5 algorithm and the original file contents. This is extremly useful, because we can detect changes to script files or stylesheets by a simple comparison.

The scriptmerger has registered furthermore to a hook which is called after clearing of the caches. The register class simply removes any files inside the mentioned directories above which has a access date which is older than two weeks. If you want to change this value, you need to adjust the code. Please make sure that you are regularly click on the delete all caches button inside the backend to prevent a heavily growing temp folder.