Support » Plugin: WP Super Cache » Cache-control: max-age=3, must-revalidate

  • Resolved Biranit


    Hi Donncha,

    If possible, could you please make it possible to edit the .htaccess you place in the /wp-content/cache/ directory – without it being overwritten by WPSC?

    I had to remove the must-revalidate, as it conflicts with our rules for the CDN (we serve all our website via a CDN).

    I removed it from the code too, in a couple of files, but it would be nice if this was something I could edit without the worry of it being overwritten the next time I upgrade… 🙂



Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Donncha O Caoimh


    I added a check for a constant, “WPSC_DISABLE_HTACCESS_UPDATE”. If that constant is defined then the .htaccess files (both of them) won’t be updated. I don’t expect many people will want this feature so there’s really no need to make it an option.

    Thanks a lot, Donncha!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cache-control: max-age=3, must-revalidate’ is closed to new replies.