Skip to content

About caching in tutorial #97

@hdlinh1808

Description

@hdlinh1808

Hi,
Int the README.md, I found:
This implementation contains a very basic cache that is intended only to be used for short lived DataLoaders (i.e. DataLoaders that only exist for the life of **an http request**). You may use your own implementation if you want.
But when I test, I found that it cache for many requests. So I have the questions:

  • What is default of the cache (TTL)?
  • If I want cache for only the life of a http request, How can I make with only one dataloader object easily?

Thanks,
Linh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions