Wordpress LScache Plugin: Late Initialization possibility
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello, We have a special plugin. It is for find the visitor source and arrange data for their origin. It is already integrated with WP Super Cache and W3TC as they were serving good hooks but I couldnt find Litespeed cache options for that. I saw some message from Litespeed support talking about litespeed_buffer_before but couldnt make it work. My code is basically something like below. Thank you so much. ########## if($settings[cache_plugin_use]==super_cache) $GLOBALS[wp_super_cache_late_init] =1 elseif($settings[cache_plugin_use]==w3tc) if(function_exists(w3tc_config)) $config = w3tc_config() //echo print_r($config) exit if($config->get_boolean(pgcache.late_init) == false || $config->get_string( pgcache.engine ) != file) $config->set( pgcache.engine, file ) $config->set( pgcache.late_init, true ) $config->save() ########## Hi, please forgive my bluntness, what kind of hook you are looking for to make this work ? Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference