Added: cacheBust option (#71)

* Refactor request test to allow further tests to be added

* Make cache-busting optional

Closes #70
This commit was merged in pull request #71.
This commit is contained in:
Bart Nagel
2016-06-27 21:46:14 -07:00
committed by Maxime Thirouin
parent ee530f4c0a
commit 7976f06043
5 changed files with 43 additions and 10 deletions

View File

@@ -382,6 +382,12 @@ It's called every time a page is switched, even for history buttons.
Value (in px) to scrollTo when a page is switched.
##### `cacheBust` (Boolean, default true)
When set to true,
append a timestamp query string segment to the requested URLs
in order to skip browser cache.
##### `debug` (Boolean, default to false)
Enable verbose mode & doesn't use fallback when there is an error.