GetSimple Support Forum

Full Version: XHR requests getting cached, if caching headers is set for php files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Today, I found a smaller problem, if you're having caching headers for PHP files set. Let's say you're in the admin panel, under plugins, and you disable a plugin. This will do a XHR request to the page, but if the php files is getting cached, the XHR wont work.

A way to fix this is either to send the cache-control: no-cache together with the request itself, or appending like etc time=epochtime.

Best regards,
Lucas Rolff