Right now boost_db_is_expired($filename) only works with non gzipped files. This effects boost_cache_write(). While I'm here add in a setting so boost will overwrite a file even if it is not expired & it didn't get served from the cache dir (useful when crawling a site before it goes live).

CommentFileSizeAuthor
#1 boost-519354.patch4.98 KBmikeytown2

Comments

mikeytown2’s picture

Status: Active » Needs review
StatusFileSize
new4.98 KB
mikeytown2’s picture

Title: allow for boost_db_is_expired($filename) to handle gzip filenames » boost_cache_write() overwriting cached gzip files
mikeytown2’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.