If the SELV website doesn't reflect recent code changes, clear the cache, any associated offline cached files, and Index DB.
On firefox:
MAC
- From Firefox menu, select Preferences
Click Advanced
Click Network
Click both of the Clear Now buttons
PC
Tools/Options/Network
2. Delete files in index.db
OS X (10.9):
(From Finder: Go > Go To Folder, or Shift-Apple-K. Enter ~/Library to show hidden Library folder for your user account)
/Users/{USER}/Library/Application Support/Firefox/Profiles/{PROFILE}/indexedDB
or
/Users/{USER}/Library/Application Support/Firefox/Profiles/{CURRENT PROFILE}/storage/persistent/{SITE TO CLEAR}
Windows:
- Close Firefox
2. Go to
C:\Users\{USER}\AppData\Roaming\Mozilla\Firefox\Profiles\<random name>\IndexedDb
or
C:\Users\{USER}\AppData\Roaming\Mozilla\Firefox\Profiles\<random name>\Storage\Persistant
or Storage or Persistance (delete
on Windows.
For additional details see: http://stackoverflow.com/questions/9846013/how-to-view-indexeddb-content-in-firefox
3. Open Firefox, Return to sELV
(after following this procedure for PC got a message "your Firefox profile cannot be loaded. It may be missing or inaccessible." Firefox unable to load.)
On Chrome
On upper right click icon with three horizontal orange bars
Selects Tools, Clear Browsing Data
Notes
We are going to need to test upgrade steps for any release.
Changes can't be applied to any previously initiated distributions.
Need to consider several issues:
- What cache clearing actions are required to ensure that distributions can be initiated
- What cache clearing actions are required to ensure that latest code is available for NEWLY initiated distributions
- what cache clearing actions are required to ensure that latest code is available for PREVIOUSLY initiated distributions (or, what steps do field coordinators have to take… delete all distributions? sync all before upgrade)
Testing Notes
Firefox | Chrome | |
---|---|---|
2/28 Build | Distributions from pre-build were retained Could initiate distribution Data entry forms had old code
Action: Cleared cached web content online (did NOT check Override automatic cache management box. Result: distributions were retained. Still had old code
Action: Cleared cached web content online (DID check Override automatic cache management box. Result: distributions were retained. Still had old code
Action: Cleared cached web content online (DID check Override automatic cache management box) AND cleared offline web content. Result: distributions were retained. Still had old cod
Action: Cleared cached web content online (DID check Override automatic cache management box) AND cleared offline web content AND removed exception for offline data for SELV Result: distributions were retained. Still had old cod
Action: Clear History/Everything/Cache
| Distributions from pre-build were retains Could initiate distribution Data entry forms had old code
Result: distributions from pre-build were gone and latest code was available.
For testing next time: could i check less boxes and retain distributions while still updating code? |
3/13 | On Windows, after deleting files in the C:\Users\{USER}\AppData\Roaming\Mozilla\Firefox\Profiles\{PROFILE} path, Firefox would not load. Had to uninstall and reinstall firefox. | |