-
- 69 Posts
Is there a way to automate the CSS or js file src in my <head> tag? I'm thinking how WordPress seems to work.
Is there something that can either read the version from the comment in my CSS file? Or is there a way to add a field in the file editor that can update that?
Thanks
-
- 24,544 Posts
Check out the
cachebuster extra.
You can also do it with a custom snippet using $modx->regClientCSS or $modx->regClientStartupScript.