-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
Environment
Self-Hosted (Bare Metal)
System
Tested on: Debian 11.8, Win11
Version
v1.11.2 (release)
Desktop Information
Firefox v122
Describe the problem
I wanted to change my own char picture, found in "Persona Management".
There, i clicked on my own persona and selected "Change persona image".
Then i selected a .png (and tested it with .jpeg) and the "Set the crop" window appeared. I did not change the size and selected "Accept".
But the picture did not change in the frontend, even if i pressed F5.
Here is the example:
I wanted to change the picture:

Then i selected a picture and pressed Accept:

After pressing F5, the old picture was still there. It seems that the picture was stored in the browser cache and is not marked as "Expired" from the webserver. (If i use F12 and select "Disable cache" and refresh the page, then the correct picture is shown)
After some searching, i found the following: https://stackoverflow.com/a/22013028
Quote:
...
What you probably need to fix, is to add Expires headers to what you are serving.
Then you will see the NS_BINDING_ABORTED message change to (cache),
meaning the browser is simply getting content out of its cache, knowing it has not yet expired.
...
Additional info
No response
Please tick the boxes
- You have explained the issue clearly, and included all relevant info
- You've checked that this issue hasn't already been raised
- You've checked the docs
