/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// in bootstrap 'lifetime' => 3600, 'cache' => false, 'cache_with_get_variables' => false, 'cache_with_post_variables' => false, 'cache_with_session_variables' => true, 'cache_with_files_variables' => false, 'cache_with_cookie_variables' => true, 'make_id_with_get_variables' => false, 'make_id_with_post_variables' => false, 'make_id_with_session_variables' => false, 'make_id_with_files_variables' => false, 'make_id_with_cookie_variables' => false ), ) ); $cache = Zend_Cache::factory( 'Page', 'File', $frontendOptions, $backendOptions ); $cache->start();