Hook for file caches

Created on 7 June 2009, about 16 years ago
Updated 11 July 2023, almost 2 years ago

This issue is for the purpose of a more complete solution to #276615: If users goes to admin/build/themes and does not submit, anon users see cached pages with references to non-existent CSS . We should pursue a file flush mechanism that other modules can call and hook into. drupal_clear_file_caches() would be the standard way of flushing the files/js & files/css directories. Operate very similar to http://api.drupal.org/api/function/hook_flush_caches/7. Hook would be called via *_flush_file_caches(). Standard db page cache should be flushed when this is called as well since it will reference non existent css/js files.

Feature request
Status

Postponed: needs info

Version

9.5

Component
Base 

Last updated about 4 hours ago

Created by

🇺🇸United States mikeytown2

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States smustgrave

    Wonder if this is still a valid feature request after 11 years?

  • Status changed to Closed: outdated about 2 months ago
  • 🇳🇿New Zealand quietone

    Since there was no response to the query about two years ago, I am closing this issue.

    If there is interest in this re-open the issue and add a comment. Or open a new issue and reference this one.

Production build 0.71.5 2024