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

Cache specific request, not whole service. #18

@yapryntsev

Description

@yapryntsev

I think that is really a common situation, when you need to cache result of a specific request that ideological belongs to some HttpService. But now all requests that belong to the service with cache hook are caching.

For example, I have a service that provides auth methods and caching ableProfile request is a good idea, but caching isLogined request looks pretty weird. I really don't want to create HttpService for each request I need to cache.

Do you plan implement that sort of functionality or did I miss something and there is some elegant way to do it?

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