Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching for API routes #292

Closed
goellner opened this issue Aug 31, 2020 · 3 comments
Closed

Caching for API routes #292

goellner opened this issue Aug 31, 2020 · 3 comments

Comments

@goellner
Copy link

Would be great to have a caching for API routes, which gets invalidated, when the content changes. This would speed up headless sites a lot.

@goellner goellner changed the title Caching for API routees Caching for API routes Aug 31, 2020
@marcusand
Copy link

yes, please!

@gefangenimnetz
Copy link

We recently had an event with lots of concurrent users. SPA was built in a way to poll for a collection every 15 seconds. Basically server died soon (PHP processes took to long). We (emergency) switched to a static json file that basically contained the API response and manually changed content in there from time to time. A cached API response with invalidation would probably have helped a lot.

@jasonvarga
Copy link
Member

Available in the 3.1 preview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants