WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
[resolved] Cache-control: max-age=3, must-revalidate (3 posts)

  1. Biranit
    Member
    Posted 11 months ago #

    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... :)

    Thanks,

    Bira

    http://wordpress.org/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 11 months ago #

    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.

  3. Biranit
    Member
    Posted 11 months ago #

    Thanks a lot, Donncha!!!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.