Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update browser cache when images are updated #389

Merged
merged 1 commit into from
Mar 2, 2020

Conversation

ghost
Copy link

@ghost ghost commented Mar 2, 2020

Fetching with { cache: reload } forces the browser to update the local cache with a new copy. This prevents the issue where the image remains the old one after it has been updated.

I wanted to do the same for scenes, but jwplayer ignores the fact that the cache has been updated, so I left the existing method alone.

@WithoutPants
Copy link
Collaborator

Would doing the same thing for scenes improve the scenes page?

@WithoutPants WithoutPants merged commit c8a56ae into stashapp:develop Mar 2, 2020
@WithoutPants WithoutPants added this to the Version 0.2.0 milestone Mar 3, 2020
Tweeticoats pushed a commit to Tweeticoats/stash that referenced this pull request Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant