Skip to content

Image Processing API => Skip Cache? #58

@mproche

Description

@mproche

Hey not sure if this is the best place to reach out. Loving this extension but I am running into an issue with the caching.

Steps to Reproduce

  1. Upload file to Firebase Storage to users/userID/profile-pic.jpg
  2. Use invertase process api to get the image on the client
  3. Upload a new profile picture to users/userID/profile-pic.jpg
  4. Once again, use invertase process api to get the image on the client

Issue
I am getting back the original upload picture (from step 1) not the newer picture (from step 3). I believe this is because Invertase is caching the photos (which is great), but how can I skip/update the cache when I know that the picture has changed?

Potential Solution
Somewhere in the input could there be a bool parameter skipCache where Invertase would skip the cache and get the new image?
Or is there a different API other than GET /process that we can hit to let Invertase know the cache is invalid?

I hope this makes sense! Happy to provide more details & have been loving this extension -- thanks for all the hard work!

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