-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AJAX Tabs in 2.0 #2493
Comments
Please create a test case. Perhaps its just loading too quickly :). AJAX tabs in 2.0 use session storage, which means if you have already loaded a tab once in a browser session it will reload instantly the next time. |
Surely if the code is as follows it shouldn't cache :
but when I look in the console under the network tab it is caching it and not reloading the page. |
Top level cache setting is not currently passing api settings correctly. For now you can just fix with specifying API settings $('.fixed.home.menu .item')
.tab({
context : 'parent',
auto : true,
alwaysRefresh : true,
parseScripts : true,
ignoreFirstLoad : false,
apiSettings: {
cache: false
},
path : './',
}); Will fix. |
I'll fix in first patch, not sur whats going on. |
I've fixed tab to go back to using its own internal caching, which should now be obeyed with I've added additional examples to docs as well. |
The loader has disappeared in version 2.0 and no longer displays whilst an ajax tab is being processed and sent by the server.
The text was updated successfully, but these errors were encountered: