Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

question: Is there a way to get cached items within a controller method #55

Open
logicminds opened this issue Jul 4, 2021 · 0 comments

Comments

@logicminds
Copy link

An external call will get the cached data. But how would a route in my controller fetch the same cached data?

Do I need to use axios to call http://localhost:1337/posts. Would be great to cache at the model layer instead of controller.

Example: strapi.services.posts.find()

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

No branches or pull requests

1 participant