2023-10-25, 07:40 AM
(This post was last modified: 2023-10-25, 07:42 AM by Rezer. Edited 1 time in total.)
Well I don't have a resolution but I do have more information about the root cause of this one and a workaround.
It seems this is indeed coming from items stored under "Cache Storage" as identified in the firefox developer console. Despite this name, clearing the cache leaves all the items intact here...the following screenshot was taken immediately after clearing the cache storage and before reloading the page (You'll have to forgive me for removing my server's domain name):
Right clicking workbox-precache-v2-https://domain.name/web/ and deleting it that way immediately resolves the issue without having to clear all site data from the browser, and it does not appear to come back after further edits to the config.json file. I have not yet figured out under what circumstances workbox-precache-v2 gets created, but as of yet after loading the site multiple times, closing and reopening the browser, logging out and logging back in, watching several videos and so on, the only thing under "Cache Storage" is "embydata" which consists of a single url. It seems as long as workbox-precache-v2 does not exist, then there's no issue...if it does, the sidebar links will remain cached indefinitely.
Note that while I did the above tests in firefox, the same issue was present while using Chrome. I should also note that the changes I made previously to the cache expiry headers has already been removed as it did not seem to change the behavior of this issue.
It seems this is indeed coming from items stored under "Cache Storage" as identified in the firefox developer console. Despite this name, clearing the cache leaves all the items intact here...the following screenshot was taken immediately after clearing the cache storage and before reloading the page (You'll have to forgive me for removing my server's domain name):
Right clicking workbox-precache-v2-https://domain.name/web/ and deleting it that way immediately resolves the issue without having to clear all site data from the browser, and it does not appear to come back after further edits to the config.json file. I have not yet figured out under what circumstances workbox-precache-v2 gets created, but as of yet after loading the site multiple times, closing and reopening the browser, logging out and logging back in, watching several videos and so on, the only thing under "Cache Storage" is "embydata" which consists of a single url. It seems as long as workbox-precache-v2 does not exist, then there's no issue...if it does, the sidebar links will remain cached indefinitely.
Note that while I did the above tests in firefox, the same issue was present while using Chrome. I should also note that the changes I made previously to the cache expiry headers has already been removed as it did not seem to change the behavior of this issue.