Skip to content

Default cache options #27

@sdeering

Description

@sdeering

HI, first off, great package its working well good job!

I noticed your using this for Default cache options.

/** * Default cache options */ private _defaultOptions: CacheOptionsInterface = { expires: Number.MAX_VALUE, maxAge : Number.MAX_VALUE };

How long is that exactly, am i reading it right to say its indefinite until the session cache is cleared?

If so, how would you set the cache to expire to say 1 day?

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