Unable to exclude REST URL from caching
-
Hi @vmarko,
I’ve got a page which includes a dynamic part to display my availabilities.
I’ve tried to configure W3 Total Cache to exclude the REST URL but it doesn’t seem to work.
I’ve then implemented Page Fragment Caching. When I do a hard page refresh things are OK as the JSON file generated from the URL is clearly downloaded from server. Also the rest of the page is correctly cached.
But when I do a simple refresh or when I access my page with an internal link, it doesn’t download the file from server but from browser cache instead. Indeed, the response header indicates a expiring date set at T+ 1 year (as this is my default configuration for Browser cache TTL).
How can I do to exclude my specific REST URL from W3 Total Cache ?
Thanks in advance for your help
Ben
The page I need help with: [log in to see the link]
- The topic ‘Unable to exclude REST URL from caching’ is closed to new replies.