devel:caching
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
devel:caching [2022-09-29 14:43] – [Purging the cache] Order does not matter. schplurtz | devel:caching [2023-09-02 16:31] (current) – Klap-in | ||
---|---|---|---|
Line 19: | Line 19: | ||
To purge the editor toolbar (and other cached JavaScript) call | To purge the editor toolbar (and other cached JavaScript) call | ||
http:// | http:// | ||
- | and clean up your browser' | + | and clean up your browser' |
You can also clear the CSS cache in the same way: | You can also clear the CSS cache in the same way: | ||
http:// | http:// | ||
+ | |||
===== Two-Stage-Caching ===== | ===== Two-Stage-Caching ===== | ||
Line 58: | Line 59: | ||
* add an [[action plugin]] component to handle the '' | * add an [[action plugin]] component to handle the '' | ||
- | Caching itself is handled by the cache object(('' | + | Caching itself is handled by the Cache object(('' |
* the '' | * the '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* the cache name, '' | * the cache name, '' | ||
Line 70: | Line 71: | ||
/* code to expire the cached xhtml of page ns:page | /* code to expire the cached xhtml of page ns:page | ||
* $id = ' | * $id = ' | ||
- | * $data = array(' | + | * $data = array(' |
- | * $render = false; | + | * $render = false; |
- | * $persistent = false; | + | * $persistent = false; // this change doesn' |
+ | | ||
*/ | */ | ||
p_set_metadata($id, | p_set_metadata($id, |
devel/caching.txt · Last modified: 2023-09-02 16:31 by Klap-in