Skip to content

Resource.$clearCache() clears local storage but not in-memory cache #82

Open
@mmautner

Description

@mmautner

As described, Resource.$clearCache() clears my localStorage cache for the given resource, however the next Resource.query() call appears to read from the in-memory angular cache and re-populates the localStorage cache w/o making a new HTTP request.

Can you give some guidance on how to clear both the localStorage cache and the angular in-memory cache for a given Resource?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions