function boost_file_is_expired in Boost 6
Same name and namespace in other branches
- 5 boost.api.inc \boost_file_is_expired()
Determines whether a cached file has expired, i.e. whether its age exceeds the maximum cache lifetime as defined by Drupal's system settings.
Parameters
$filename: Name of cached file
File
- ./
boost.module, line 4616 - Provides static file caching for Drupal text output. Pages, Feeds, ect...
Code
function boost_file_is_expired($filename) {
return boost_file_get_age($filename) > BOOST_CACHE_LIFETIME;
}