I created a few views which I use as JSON endpoints for a client application. However, they are not refreshed along with the content they serve.
What I have tried with no success:
- Setting Caching to none (within the View page).
- Disabled Views cache, (in Views' advanced settings).
drush cache-rebuildas a cronjob every 12h.
I know I can use a workaround like
/api/my-endpoint?time=1234, but this is not an option for me, since I have no access to the consuming client's code anymore. Neither I plan to recreate all these endpoints in custom code.
How can I force a JSON view page not to be cached?