-
Notifications
You must be signed in to change notification settings - Fork 39
Troubleshooting Caching
MicrobeTrace has had several bugs related to caching over its history. If you're having a problem with MicrobeTrace, there are two likely culprits: the system breaks because of a specific thing about your data, or the cache has somehow screwed up. This is a guide to the latter issue.
MicrobeTrace is a single-page application (SPA), meaning that as it requires additional resources, it requests them and updates its content without ever refreshing the page. Unfortunately, sometimes browser cache can save old versions of these resources, oblivious to the fact that they no longer work. To fix this issue:
- Open Chrome
- Hit Ctrl+Shift+Del (or copy/paste
chrome://settings/clearBrowserData
into your URL bar)
- Set the Time Range dropdown to "All time"
- Uncheck "Browsing History" and "Cookies and other site data" (Be certain you un-check these! If you don't, you'll be signed out of every site you're logged in to. If you are logged in to Chrome, you'll be logged out of every site on every device you've used to log in to Chrome.)
- Click "Clear Data"
- Reopen MicrobeTrace. Everything should work now.
- Open Firefox
- Hit Ctrl+Shift+Del
- Set the "Time range to clear" dropdown to "Everything"
- Uncheck everything except "Cahce" and "Offline Website Data"
- Click "Clear Now"
- Reopen MicrobeTrace. Everything should work now.
Stop trying to use Internet Explorer. It's a bad, dangerous, unsupported browser.
If this doesn't work:
MicrobeTrace achieves near-complete offline functionality by caching itself in your browser. It updates itself every time you're connected to the internet. We do this intentionally to ensure that even if your network goes down, you can still use MicrobeTrace, and you always have the freshest possible version of MicrobeTrace. However, sometimes browsers get confused and fail to update correctly. Here's how to deal with that:
- Open Chrome, Open MicrobeTrace and hit
Ctrl+Shift+I
. This will open your Chrome Developer tools. - Click on the "Application" Tab. (If your screen is narrow, it may be hidden behind the ">>" in the Devtools tab bar.)
- Click "Clear storage in the menu on the left.
- Make sure everything is checked, and then click "Clear Site Data".
- Click the "x" to close the Developer tools and hit
Ctrl+Shift+R
to hard-refresh MicrobeTrace. Everything should work now.
- Open Firefox, Open MicrobeTrace and hit
Ctrl+Shift+I
. This will open your Developer tools. - Click on the "Storage" Tab. (It may be hidden behind the ">>" in the Devtools tab bar.)
- Click on "Cache Storage", then "https://microbetrace.cdc.gov".
- Right click on the first entry below "https://microbetrace.cdc.gov", and click "Delete All"
- Click the "x" to close the Developer tools and hit
Ctrl+Shift+R
to hard-refresh MicrobeTrace. Everything should work now.
You really never learn, do you?
Copyright 2017-2020 Centers for Disease Control and Prevention • Acknowledgements