1.4.2 Bug: Disabling cache does not work when template7Pages are enabled.
See original GitHub issueA This did not work
var myApp = new Framework7({
// ...
template7Pages: true,
cache: false,
cacheIgnore: ['/users/index', '/users/add', 'users/index', 'users/add'],
// ...
B This however did work (‘solves’ the problem)
var myApp = new Framework7({
template7Pages: false, // Why does this interact with caching?
// ...
)}
myApp.params.cache = true; // could also be false to disable any caching
myApp.params.cacheIgnore = ['/users/index', '/users/add', 'users/index', 'users/add'];
Shouldn’t A and B have the same effect?
.
Additional code required for back link to force reloads
myApp.onPageAfterAnimation('*', function(page){
$$('.view-main .page-on-left, .view-main .navbar-on-left').remove();
});
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
'Disable Caches' no longer on the Develop menu in Safari 11.0
There used to be a 'Disable Caches' option on the Develop menu, but it's no longer present in Safari 11.0. It's very useful...
Read more >CORS issue only if we don't check "disable cache" in dev tools ...
Steps to reproduce the problem: 1. Request AWS cloudfront resource from js file. Shows CORS error. 2. Request same resource with "Disable cache" ......
Read more >Disable Caching in Java 1.4.2 install or limit folder size
Does anyone know how to disable the caching in Java 1.4.2 during a silent install? I can't find any switches related to caching....
Read more >Page caching and scrolling - General developer forum
David, do you know how to re-enable that functionality? Average of ratings: - ... Right now, page caching appears to be all-or-nothing.
Read more >How to Enable or Disable Disk Write Caching in Windows
How to Enable or Disable Disk Write Caching in Windows Disk write caching is a feature that improves system performance by using fast ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ionas it is the issue with F7, not with docs 😃 I’ll check and fix it
Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly: