Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If the SELV website doesn't reflect recent code changes, clear the cache and , any associated offline cached files, and Index DB.

 

On firefox:

MAC

  1. From Firefox menu, select Preferences

Click Advanced

Click Network

Click both of the Clear Now buttons


PC - WINDOWS

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:

 

  1. Close Firefox
  2. Go to your user's home folder:
    1. C:\Users\{USER_NAME}
  3. Show hidden folders if needed
    1. Goto menu item "Organize" -> Folder and search options
      Image Added
    2. Click on the View Tab
    3. Select "Show Hidden Files, Folders and Drives under "Hidden Files and Folders"
      Image Added
  4. Navigate to AppData\Roaming\Mozilla\Firefox\Profiles\<random name>\IndexedDB\<site name> or AppData\Roaming\Mozilla\Firefox\Profiles\<random name>\Storage\Persistent\IndexDB\<site name>
  5. For additional details see: http://stackoverflow.com/questions/9846013/how-to-view-indexeddb-content-in-firefox
  6. 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:

  1. What cache clearing actions are required to ensure that distributions can be initiated
  2. What cache clearing actions are required to ensure that latest code is available for NEWLY initiated distributions
  3. 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

 FirefoxChrome
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


Action: Cleared ALL browsing data (checked all boxes)

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/13On 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.