History: Cache
Preview of version: 16
There are many caches in Tiki to improve Performance:
- Smarty Cache
- Link Cache
- Cache External Images
- Wiki Cache (for anonymous visitors, to avoid parsing page again & again)
- Data cache
- Memcached when configured,
- or defaults to filesystem cache
- Opcode/Bytecode cache can be used (in preferred order). Also see: Ohloh
- MySQL also caches queries to improve performance
Clear cache
Tiki cache
Visit tiki-admin_system.php on your site or check System Admin documentation page.
Manually clear cache
You can also clear the cache from the command line by doing php console.php cache:clear
If that failed, create and run a batch file with the following lines:
Copy to clipboard
ls -1d ./templates_c/* |grep -v -e index.php | xargs -r /bin/rm ls -1d ./temp/public/* |grep -v -e index.php | xargs -r /bin/rm ls -1d ./lib/test/core/temp/cache/* |grep -v -e index.php | xargs -r /bin/rm ls -1d ./modules/cache/* |grep -v -e index.php -e README | xargs -r /bin/rm ls -1d ./temp/cache/* |grep -v -e index.php | xargs -r /bin/rm
Browser cache
Find the documentation for your browser.