DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:js_cache_use

Table of Contents

JS_CACHE_USE

Description:
manipulate the JavaScript cache
DefaultAction:
determine whether or not cached data should be used
Preventable:
yes
Added:
2012-03-10

This Event is signaled from the caching object used in lib/exe/js.php when the validity of the JavaScript cache is determined. It can be used to influence how the JavaScript is cached.

Passed Data

$data is a cache object – refer inc/cache.php. You most probably want to modify it's internal variables like $key and $depends.

See also

devel/event/js_cache_use.txt · Last modified: 2018-12-08 15:47 by torpedo

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki