Hello!
I have a cache problem. A have placed a button, if I click this button I set a cookie and reload the page, both with javascript. What should happen is: check with $_COOKIE if cookie is set, if yes then parse a tag like <something>
. The problem is, it’s not working because of the cache. If I delete the cache manually it works fine. Cookie is detected, everything works as intended. It works if I add ?action=purge
to the reload-URL. But there’s a promt I do not want to have.
I hope everything is understandable. Thank you.