Jellyfin Forum
SOLVED: Possible Bug: Some user settings will reset to default after clearing browser cache - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Possible Bug: Some user settings will reset to default after clearing browser cache (/t-solved-possible-bug-some-user-settings-will-reset-to-default-after-clearing-browser-cache)

Pages: 1 2


Possible Bug: Some user settings will reset to default after clearing browser cache - JANONYMOUS - 2025-01-02

I noticed that clearing the browser cache (Safari in my case) will reset some custom settings.

So far I have noticed the following:
  • Settings > Display > Theme [resets to Dark]
  • Settings > Libraries > Library page size [resets to 100]

Note that this doesn't affect every custom setting.  For example, the dashboard theme setting does not revert to the dark theme.


RE: Possible Bug: Some user settings will reset to default after clearing browser cache - Efficient_Good_5784 - 2025-01-02

Most client settings are stored in the browser's cache and not in the server's config folder. So by clearing out the browser's cache, you lose that stuff.


RE: Possible Bug: Some user settings will reset to default after clearing browser cache - JANONYMOUS - 2025-01-02

I see, thanks for clarifying this. The reason I figured it might be a bug is that only some settings are affected, even very similar ones, like the mentioned theme settings. So that seemed strange.


RE: Possible Bug: Some user settings will reset to default after clearing browser cache - Efficient_Good_5784 - 2025-01-02

Yeah, while it's not clear at first glance, there are some settings that are saved on the server.

Your best option to figure these out is to change everything, then clear the cached and finally go see what remained as changed.

From all the client settings, the one section that is saved on the server entirely is the home section.


RE: Possible Bug: Some user settings will reset to default after clearing browser cache - JANONYMOUS - 2025-01-03

Thanks for the update!


RE: Possible Bug: Some user settings will reset to default after clearing browser cache - JazoBurbs - 2025-01-19

A number of User Settings --> Display resets to default for me regularaly (ie Theme Songs unchecked, Max days in 'Next Up' back to 365, etc). It doesn't make sense to be that this is stored in the browser cache when the admin can change these on behalf of the user. Are we sure about this? Having this get rest often should definitely be a bug.


RE: Possible Bug: Some user settings will reset to default after clearing browser cache - Efficient_Good_5784 - 2025-01-19

(2025-01-19, 03:00 PM)JazoBurbs Wrote: A number of User Settings --> Display resets to default for me regularaly (ie Theme Songs unchecked, Max days in 'Next Up' back to 365, etc). It doesn't make sense to be that this is stored in the browser cache when the admin can change these on behalf of the user. Are we sure about this? Having this get rest often should definitely be a bug.
I haven't tested it, but I believe an admin can only change those for people on the current client that the admin is on. Maybe an admin will need to keep going to each client that each of their users use (or will ever use) and apply the settings for them there.

It's not a bug and is done on purpose because it's up to the client to decide what it wants.
When it comes to web browsers, a browser counts as a single client. If you clear the cache out, the browser will count as a new client.

For example, open a private browser window and log into your admin account from there.
You will see that everything is turned off because you effectively just logged in from a new client.


RE: Possible Bug: Some user settings will reset to default after clearing browser cache - JazoBurbs - 2025-01-19

Thanks but this doesn't make sense to me. Why would Admins only be able to change user-level preferences on the current client the admin is on (ie. Chrome). Wouldn't the user preferences (be it if they are changed by the use or the admin) propogate to all platforms/apps that suppose those settings (assuming it has an API)?


RE: Possible Bug: Some user settings will reset to default after clearing browser cache - Efficient_Good_5784 - 2025-01-20

(2025-01-19, 09:46 PM)JazoBurbs Wrote: Thanks but this doesn't make sense to me. Why would Admins only be able to change user-level preferences on the current client the admin is on (ie. Chrome). Wouldn't the user preferences (be it if they are changed by the use or the admin) propogate to all platforms/apps that suppose those settings (assuming it has an API)?
I didn't mean for the same type of client. I meant on the same device. A new browser (with nothing saved in its cache) counts as a new device.
So if you clear out the cache, you're effectively deleting the device and starting with a new device.

It's a bit convoluted on what settings apply to what users on whatever devices.
1. Some of those settings apply only to the current user in the current device.
2. Some apply for the user on all devices that use the webUI.
3. Some even apply to all users in a server on the same device only.

As an example of the point 3, the option in the webUI to select your preferred video and audio transcode codecs apply to all users that will ever use that one device.
So if you change that, it will apply to all users that log you out and sign in on that same browser (with the same cache).

The reason it's not made so that the settings apply everywhere is because not all clients support having the same settings.
There's also cases where people want to have different settings on some (or all) of their devices.

LG TVs usually break when you select the fMP4 option, so you would disable it there.
However, you may want to turn on fMP4 on a Chrome browser as it allows for HEVC to be direct playable by the browser.
How would you handle this if changing it on one devices forces it to be the same on all of your devices?

And just to point this out, anything you change in the dashboard applies to the server as a whole.
Any settings that are not found in the dashboard are normal "client settings" which usually apply to the current client itself only.
Of course one of the exceptions to this would be the home view settings as that will actually apply to all clients that use the webUI (because you're not making changes for a client, but the webUI which follows you around regardless of the client).


RE: Possible Bug: Some user settings will reset to default after clearing browser cache - JazoBurbs - 2025-01-20

Got it. This seems overly complicated. Given that, I feel this is not the best way to organized these settles. Or perhaps better documentation on what settles are applied to all devices vs a single one. I’m more interested in what settings (if any) apply to non-web UI use cases (more specifically third-party apps). For example, would a 3rd party app leverage an API to play theme songs? Or would this be managed at the server UI level? I chose this option as it always seems to “reset”.

Overall, it seems confusing to be able to change a use-level settling at the admin level but have this be device specific (the device that the admin is currently on when changing these settings). Perhaps though I’m still am not grasping how this was designed.