You are here

function views_plugin_cache_rules::cache_expire in Cache Actions 6.2

Same name and namespace in other branches
  1. 6 views_plugin_cache_rules.inc \views_plugin_cache_rules::cache_expire()
  2. 7 views_plugin_cache_rules.inc \views_plugin_cache_rules::cache_expire()

Since rules will be triggering our cache invalidation, the cache will never expire.

Parameters

$type:

Return value

always FALSE.

File

./views_plugin_cache_rules.inc, line 23
This file contains a cache that just implements the views cache plugin.

Class

views_plugin_cache_rules
Plugin that caches views infinitely. This is not really that useful unless you want rules to invalidate your cache.

Code

function cache_expire($type) {
  return FALSE;
}