[GH-ISSUE #250] Allow image cache to be clear #221

Closed
opened 2026-03-03 11:38:04 +03:00 by kerem · 1 comment
Owner

Originally created by @Eroyi on GitHub (Oct 11, 2024).
Original GitHub issue: https://github.com/Finb/Bark/issues/250

It appears that the image is cached based on the filename, which could potentially lead to issues:

  1. In a scenario with multiple servers, images with the same name (but different content) could be shared across different servers (e.g., warning_red.png).
  2. While testing the push demo, the image will be constantly modified to figure out the best way to present it. I have to change the name repeatedly to ensure that Bark obtains the correct image.

Issue 1 does have a way to work around it, 2 is much more imminent. I've tried reinstalling the app but had no luck, it would be great to have a cache clear button.

Originally created by @Eroyi on GitHub (Oct 11, 2024). Original GitHub issue: https://github.com/Finb/Bark/issues/250 It appears that the image is cached based on the filename, which could potentially lead to issues: 1. In a scenario with multiple servers, images with the same name (but different content) could be shared across different servers (e.g., warning_red.png). 2. While testing the push demo, the image will be constantly modified to figure out the best way to present it. I have to change the name repeatedly to ensure that Bark obtains the correct image. Issue **1** does have a way to work around it, **2** is much more imminent. I've tried reinstalling the app but had no luck, it would be great to have a cache clear button.
kerem closed this issue 2026-03-03 11:38:04 +03:00
Author
Owner

@Finb commented on GitHub (Oct 25, 2024):

Add query parameters to your image urls to bypass the cache.

like this:

https://x.com/pic.jpg?t=1
<!-- gh-comment-id:2436758079 --> @Finb commented on GitHub (Oct 25, 2024): Add query parameters to your image urls to bypass the cache. like this: ``` https://x.com/pic.jpg?t=1 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Bark#221
No description provided.