I'm wondering why ExpiresDefault is set to 1 year after access. Could this be a reason why sometimes some of our pages are serving old js and css even after cache flush?

Comments

mikeytown2’s picture

When a file changes, all bundles that contain that file get their counter incremented by one. If this is not happening than we have a bug on our hands. I recently fixed an issue with this logic: #1168844: Double check that we do a clearstatcache before calling mtime, atime or filesize in the correct places.. The other thing to keep in mind is page caches; the old html will reference the old js/css files.

mikeytown2’s picture

Status: Active » Closed (works as designed)

Re-open if you have any other concerns with this subject.