Hotaru Docs


Standard Database Cache

In Admin->Settings, you can choose to enable or disable the database cache and set its duration. By default this cache lasts for 12 hours and is mostly used for caching the very frequent plugin hook checks.

$h->db->cache_queries = true;    // start using cache
// SQL queries here
$h->db->cache_queries = false;    // stop using cache

Other caching options: Hotaru smartCache | HTML Cache | Memory Cache

Getting StartedDesign and LayoutPlugin DevelopmentAdvanced TopicsFunction ReferenceTroubleshooting