-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
id: avoiding_stale_config | ||
title: Avoiding stale config | ||
toplevel: true | ||
--- | ||
|
||
Some servers strongly cache the "config.json" file. If you want to avoid this, | ||
you can edit the index.html of JBrowse to include the following | ||
|
||
``` | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script> | ||
window.__jbrowseCacheBuster = true | ||
</script> | ||
<meta charset="utf-8" /> | ||
``` | ||
|
||
This will request the config.json file with a random query string appended to | ||
force the data to be fetched from the server instead of being loaded from the | ||
local browser cache |