alberto.bracci 0 Posted September 23, 2019 Share Posted September 23, 2019 Hello, I have a problem with web interfaces, both in firefox and chrome on windows. In particular when I open emby from browser it often shows an older cached session, meaning that the next episodes to play and the one to be resumed are older. If I clean the cache, things get back to normal. Still, it happens all the time and I cannot keep clearing the cache every time, is there a way to prevent this from happening? Thanks, Alberto Link to comment Share on other sites More sharing options...
Happy2Play 9017 Posted September 23, 2019 Share Posted September 23, 2019 What browser versions? I have never experience this on either browser on my Windows systems. Link to comment Share on other sites More sharing options...
alberto.bracci 0 Posted September 23, 2019 Author Share Posted September 23, 2019 firefox 69.0.1 Link to comment Share on other sites More sharing options...
alberto.bracci 0 Posted October 4, 2019 Author Share Posted October 4, 2019 The issue persists, with both chrome and firefox on different laptops. Link to comment Share on other sites More sharing options...
Luke 38317 Posted October 4, 2019 Share Posted October 4, 2019 Thanks for the info. We'll take a look. Link to comment Share on other sites More sharing options...
alberto.bracci 0 Posted October 6, 2019 Author Share Posted October 6, 2019 Do you need any logs or config info? Apparently the issue is present also in the android app. I run emby server on a Manjaro Linux desktop machine, using nginx with reverse proxy for remote connection. I am not sure but maybe the issue appeared with latest server update, it was not always present in the past Link to comment Share on other sites More sharing options...
Luke 38317 Posted October 6, 2019 Share Posted October 6, 2019 I have not been able to reproduce this. Perhaps try without the reverse proxy? Link to comment Share on other sites More sharing options...
alberto.bracci 0 Posted October 6, 2019 Author Share Posted October 6, 2019 I tried some changes in the reverse proxy but nothing works. In particular I tried adding proxy_cache off; or expires off; to the emby block without any success. Only thing that works is disabling http caching in a firefox developer session. Unfortunately it is only a temporary workaround. It seems like it is an issue with caching, maybe due to nginx. Unfortunately I have many services set up with nginx and cannot do without it. I share the emby block to see whether some of you might have any suggestion. Thanks for your help! Link to comment Share on other sites More sharing options...
Luke 38317 Posted October 6, 2019 Share Posted October 6, 2019 Have you compared your nginx setup to @@pir8radio 's ? Link to comment Share on other sites More sharing options...
Solution alberto.bracci 0 Posted October 6, 2019 Author Solution Share Posted October 6, 2019 Thanks for the hint! Apparently, I also had to look for cache related settings in other parts of the file. In particular, I had a line the @@pir8radio 's file didn't have: add_header Cache-Control "public, max-age = 15778463"; removing it seems to solve the issue at least for the browser. Thanks! Link to comment Share on other sites More sharing options...
Luke 38317 Posted October 6, 2019 Share Posted October 6, 2019 Thanks for the feedback. Link to comment Share on other sites More sharing options...
pir8radio 1301 Posted October 9, 2019 Share Posted October 9, 2019 (edited) Yea you don't want to force long cache times for anything but the .webp images. Emby versions all of their javascripts and what not, if you cache html it will try to call old scripts and stuff. Good job finding the issue. Edited October 9, 2019 by pir8radio Link to comment Share on other sites More sharing options...
alberto.bracci 0 Posted October 9, 2019 Author Share Posted October 9, 2019 Thanks for the explanation! This reminds me of another small issue I have that might be related. My libraries' images on the homepage are the same one that have been generated when I first set up emby. I cannot find a way to force their update, as the content has changed and thus the image shows wrong content. Can it still be a cache related problem? I think this issue was present even before I set up nginx, so it shouldn't be related to that. Link to comment Share on other sites More sharing options...
Happy2Play 9017 Posted October 9, 2019 Share Posted October 9, 2019 Thanks for the explanation! This reminds me of another small issue I have that might be related. My libraries' images on the homepage are the same one that have been generated when I first set up emby. I cannot find a way to force their update, as the content has changed and thus the image shows wrong content. Can it still be a cache related problem? I think this issue was present even before I set up nginx, so it shouldn't be related to that. Haven't tested in awhile and am not sure if it is broke in stable version or not. I know it has been updated in the beta 4.3.x.x and requires a delete of current image to generate new image on next library scan. 1 Link to comment Share on other sites More sharing options...
alberto.bracci 0 Posted October 16, 2019 Author Share Posted October 16, 2019 Thanks for another good hint! Emby server stable version 4.2.1.0 on Manjaro Linux, deleting the images and scanning the libraries made them update! Thanks again to all of you for your help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now