Closed stodorovic closed 7 years ago
Thanks for reporting the issue.
Just added https://github.com/bluehost/endurance-page-cache/commit/31a3d242ca702c92fe1b3949f04f63a56daf15f2
https://github.com/bluehost/endurance-page-cache/commit/7750c25df07caa9101046bf9876351e511a38bf4
https://github.com/bluehost/endurance-page-cache/commit/cb4f850f19a0f2f03ac7a06092697daea560be9e
Those should prevent it from caching the wp-json api and xml.
Please let me know if that works for you.
Closing per the commits above.
Example:
So, a solution could be to check REST_REQUEST and don't cache REST API. Alternative solution is to use DONOTCACHEPAGE and don't cache page if it's defined (standard in almost all cache plugins). I think that isn't too complicated to add it into the code.