Created
October 27, 2015 00:08
-
-
Save lrobeson/344292a12f90c0fa4b05 to your computer and use it in GitHub Desktop.
Drupal: remove query strings from CSS filenames (CacheBuster)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Remove Query Strings from CSS filenames (CacheBuster) | |
| $vars['styles'] = preg_replace('/\.css\?[^"]+/','.css', $vars['styles']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment