Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
This repository was 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

Description

@logicminds

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions