0

I my apache I have mod_expires enabled. My htaccess contains:

<IfModule mod_expires.c>
  # Enable expirations.
  ExpiresActive On
  # Cache all files for 2 weeks after access (A).
  ExpiresDefault A1209600

Problem: If I make html change, it is not visible even after flushing all caches in drupal. Question: Is it possible to setup html expiring to say 1 hour and other things like css/scripts/images to say 1 day? Thank you.

-1

If you use boost module "flushing all caches" maybe not work. Go admin > configuration and open boost configuration, there a tab named "cache expiration" then undo click "Ignore a cache flush command if cron issued the request." I think this usable for you

  • I am not using boost module – loparr Oct 30 '14 at 12:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.