• Hello!

    I need a rewrite rule for no caching header or to cache once a month for example and then disable it again. 🙂

    From what I see I have this:

    Header set Cache-Control “max-age=0, no-cache, no-store, must-revalidate”
    Header set Pragma “no-cache”
    Header set Expires “Mon, 29 Oct 1923 20:30:00 GMT”

    But doesn’t seem to work

    The problem is I have conditional elements in the header and it gets messed up when cached. I also have php codes for redirections and it interferes too.

    • This topic was modified 3 years, 5 months ago by tahanche.
    • This topic was modified 3 years, 5 months ago by tahanche.
Viewing 1 replies (of 1 total)
  • Plugin Author Emre Vona

    (@emrevona)

    if you set as “one month”, the visitors cannot see the latest change because of the browser caching.

Viewing 1 replies (of 1 total)

The topic ‘Cache Control Over the Header’ is closed to new replies.