function boost_file_get_ttl in Boost 6
Returns the remaining time-to-live for a cached file, measured in seconds.
Parameters
$filename: Name of cached file
File
- ./
boost.module, line 4593 - Provides static file caching for Drupal text output. Pages, Feeds, ect...
Code
function boost_file_get_ttl($filename) {
return BOOST_CACHE_LIFETIME - boost_file_get_age($filename);
}