function advagg_disable_page_cache in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 7 advagg.module \advagg_disable_page_cache()
Disable the page cache if the aggregate is not in the bundle.
1 call to advagg_disable_page_cache()
- advagg_css_js_file_builder in ./
advagg.module - Aggregate CSS/JS files, putting them in the files directory.
File
- ./
advagg.module, line 2617 - Advanced CSS/JS aggregation module
Code
function advagg_disable_page_cache() {
global $conf;
$conf['advagg_use_full_cache'] = FALSE;
if (variable_get('advagg_page_cache_mode', ADVAGG_PAGE_CACHE_MODE)) {
$conf['cache'] = CACHE_DISABLED;
// Invoke hook_advagg_disable_page_cache(). Allows 3rd party page cache
// plugins like boost or varnish to not cache this page.
module_invoke_all('advagg_disable_page_cache');
}
}