Skip to content
This repository was archived by the owner on Feb 23, 2020. It is now read-only.
This repository was archived by the owner on Feb 23, 2020. It is now read-only.

Ability to define cached routes on CacheMiddleware #23

Description

@florimondmanca

@invokermain wrote in #22:

For my use case it would amazing to be able to specify routes for which a cache applies to when adding the middleware. Looking through the source code I cannot see why this would not be possible. I imagine the use could specify this by passing a list of routes, like: ['/api/y', '/api/x'] and anything that matches these routes is cached?

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