Jump to content

Cache-busting admin CSS files


cst989
 Share

Recommended Posts

Hello, following various guides on here in years past, I've always had a css file in the admin by editing /site/templates/admin.php and adding:

$config->styles->add("/site/assets/css/dist/admin.css");

Now suddenly I find that this call is aggressively cached with a v=3.0.227 on the end.

Even if I add my own cache-busting variable to the end, it's ignored in favour of this.

Does anyone know how to get it to clear? Or never be cached? In the end, 3 commits later, I had to rename the whole file.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...