Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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