Skip to content

ExpiryMilliseconds-value is lost #87

@vonloxley

Description

@vonloxley

Changing the ExpiryMilliseconds value affects the expiration of already saved values.

lscache.setExpiryMilliseconds(1)
undefined
lscache.set('t','asd',1);
undefined
lscache.get('t')
null
lscache.set('t','asd',1);
undefined
lscache.setExpiryMilliseconds(100)
undefined
lscache.get('t')
"asd"

The last get() should return null.

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