2012-09-05, 05:10:07
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
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