Loading...
 
Skip to main content

History: Cache

Source of version: 17

Copy to clipboard
            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 offered by PHP
* 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 ((Console|command line)) by doing -+php console.php cache:clear+-

If that failed, create and run a batch file with the following lines:
{CODE()}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{CODE}

!! Browser cache
Find the documentation for your browser.
        

History

Advanced
Information Version
Marc Laporte 20
Marc Laporte 19
Marc Laporte That is well intentioned, but clear:cache works and is updated to any path changes (Which is not the case with docs in wiki pages) 18
Marc Laporte Remove very old stuff 17
Jean-Marc Libs 16
Yves Kipondo 15
Tom Jarvis Improved manually clear cache commands 14
JMac87 13
Marc Laporte 12
Marc Laporte 11
Marc Laporte 10
Rodrigo Sampaio Primo 9
Rodrigo Sampaio Primo link to documentation page 8
Rodrigo Sampaio Primo removing user comment 6
steward 5
Marc Laporte 4
Marc Laporte 3
Louis-Philippe Huberdeau 2
Marc Laporte 1