Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedWhen 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.
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedRe-open if you have any other concerns with this subject.