updated file caching to check last modified headers to decide when to bust cache