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.
By mli on
Hi everyone,
This is probably quite silly but I can't for my life find where I set expiration date on .css and .js files that are generated in: /sites/default/files/css
I'm using "boost module" but I don't think this has anything to do with the files that are in the above directory. In fact, there is no setting in "boost" that relates to ".css" and ".js" files. Only .html, .rss, .xml.
I may also add that Google's "PageSpeed" module got my attention to this as it indicates that lack of expiration date is a serious issue. Duh :>
(Url: http://brforesundsdammarna.se)
Kindly,
Mikael
Sweden
Comments
Hi. I had the same problem.
Hi.
I had the same problem. And it turned out that I was missing a module for apache. I found this site
http://blog.merge.nl/2009/11/08/speeding-up-drupal-performance
Where it talk about it:
So on my server I run
sudo a2enmod expires
sudo services apache2 restart
Now now it works
Just what we needed
Thanks for this! It worked like a charm!
I had same issue
Thanks, it's working now.