Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching Stale Data #68

Closed
Darkstar77 opened this issue Nov 24, 2020 · 4 comments
Closed

Caching Stale Data #68

Darkstar77 opened this issue Nov 24, 2020 · 4 comments

Comments

@Darkstar77
Copy link

Google Chrome, latest version. Linux.

I've been using Hangar Xplor pretty much since it came out, and I love it. Recently I've noticed a strange behavior. I have multiple computers. Computer A, and Computer B in this example.

I've loaded my hangar on both A & B. On Computer A, I make some changes, apply a CCU, melt a ship, etc.. It is reflected on Computer A without issue. I log in on Computer B, and Computer B shows me stale data, how my hangar was before I changed anything; the same as it was the previous time I loaded it.

Initially, I could resolve this by logging out, and logging back in. That is no longer working. I disable the extension on Computer B, and the data is all there and correct in the default (yuk) hangar view. I reenable the extension, and bam, stale data again. A forced refresh does not solve this either (CTRL+F5). Clearing my browser data (cookies and cached data) does not seem to fix this.

It would be useful if there was a simple way to force the extension to load fresh data.

@peter-dolkens
Copy link
Member

Thanks for the detailed report darkstar - it seems Chrome is having some difficulty syncing the cache between machines.

This is meant to be handled automatically by Chrome, but I should be able to add some extra protections in place to detect if it has failed.

I also wanted to add a clear cache button, so will see what I can do this week.

Thanks for the report

@Krunch
Copy link

Krunch commented Nov 30, 2020

I looked at the code and you seem to be using chrome.storage.local instead of chrome.storage.sync. I don't believe local is synchronized between browsers.

@peter-dolkens
Copy link
Member

peter-dolkens commented Nov 30, 2020 via email

@Da-Geek
Copy link

Da-Geek commented Feb 13, 2021

Just to add another voice to this issue, I am also having the same issue on Multiple Machines,
Fedora, Pixelbook/ChromeOS and Windows.

Amazing work with the AddOn! Keep it up :-)

@peter-dolkens peter-dolkens pinned this issue Mar 10, 2021
@peter-dolkens peter-dolkens added this to High priority in Maintenance Mar 10, 2021
Maintenance automation moved this from High priority to Closed Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants