Cached Files in typo3temp/¶
Generally you should know that TYPO3 generates temporary "cached"
files and PHP scripts in
typo3temp/Cache/. You can remove the
typo3temp/Cache directory at any time; the directory
structure and all the caches will be re-written on the next hit to the
A shortcut to remove these caches can be found in the Install Tool, under "Important Actions". This might be useful in the event your cache files become damaged and your system is not running correctly. The Install Tool won't load any of these caches or any extension, so it should be safe to use regardless of the corrupt state of the Caches.
Amongst other caches, under
you find files like these:
-rw-rw---- 1 www-data www-data 61555 2014-03-26 16:28 ext_localconf_8b0519db6112697cceedb50296df89b0ce04ff70.php -rw-rw---- 1 www-data www-data 81995 2014-03-26 16:28 ext_tables_c3638687920118a92ab652cbf23a9ca69d4a6469.php
These files simply contain all
ext_localconf.php files of the installed extensions
concatenated in the order they are loaded. Therefore including one of
these files would be the same as including potentially hundreds of PHP
files and should improve performance.
Concerning these files you have to consider the following:
- Making changes to these files does not make sense, because they can be removed and recreated from the "originals" at any time. You should instead change the "originals".
- If you make changes to the original
ext_localconf.phpfiles in your extensions, you will have to clear the cached files away for your changes to take effect.
Possible Problems With the Cached Files¶
Changing the absolute path to TYPO3¶
If you change the path of the TYPO3 installation, you might get a lot of errors like "Failed opening ..." or "Unable to access ...". The problem is that absolute file paths are hard-coded inside the cached files.
Fix: Clean the cache using the Install Tool: Go to "Important Actions" and use the "Clear all caches" function. Then hit the page again.
Changing Image Processing Settings¶
When you change the settings for Image Processing (in normal mode),
you must take into account that old images may still be in the
typo3temp/ folder and that they prevent new files from being
generated! This is especially important to know, if you are trying to
set up image processing for the very first time.
The problem is solved by clearing the files in the
folder. Also make sure to clear the database table "cache_pages".