Add browser cache explanation in samples.mdx
Several users (including me) have been bitten by this, so it's perhaps worth mentioning in the docs that the strudel.json file gets cached by the browser and doesn't reload properly unless forced.
This commit is contained in:
parent
5a88a6daa6
commit
ae15bb7274
1 changed files with 6 additions and 0 deletions
|
|
@ -163,6 +163,12 @@ The last section could be written as:
|
|||
}
|
||||
```
|
||||
|
||||
Please note that browsers will often cache `strudel.json` on first load, and keep using the cached
|
||||
version even if the orginal has been updated. If this bites you (for example while developing a new
|
||||
sample pack), you can force the browser to download a new copy by i.e. changing capitalization of one
|
||||
character in the URL, or by removing it from cache (deleting cache in browser Privacy settings, or from
|
||||
the dev console if you're technically minded, or by using a cache deleting extension).
|
||||
|
||||
## Github Shortcut
|
||||
|
||||
Because loading samples from github is common, there is a shortcut:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue