开发者

Jquery-Tools Tabs AJAX Caching... so close yet so far

开发者 https://www.devze.com 2023-04-06 17:05 出处:网络
JqueryTools Tabs is really wonderful [http://flowplayer.org/tools/demos/tabs/ajax.html]. The only catch is that these AJAX-enabled tabs don\'t do any caching. So each tab click means a fresh reload ea

JqueryTools Tabs is really wonderful [http://flowplayer.org/tools/demos/tabs/ajax.html]. The only catch is that these AJAX-enabled tabs don't do any caching. So each tab click means a fresh reload each time.

We're almost there though, take a look at these threads : [http://flowplayer.org/tools/forum/25/74554] and [http://flowplayer.org/tools/forum/25/32829]. Unfortunately I haven't gotten it to work with my implementation which is essentially this one [http://flowplayer.org/tools/demos/tabs/ajax.html].

Has anybody solved this one? Please share it, 开发者_JS百科many JqueryTools Tabs users all around the world will be eternally grateful !! (At least one will be).

Thank you,

Gene


If you really don't wanna reload each tab for each click, why don't you render the whole page at once. One of the reasons you can load the tabs via ajax is so that you can get updates without having to reload the whole page. If you want the tabs to be cached, load the whole page at once, and you'll save yourself the overhead of a request for each tab the first time it loads.

Ajax is great for some things, but unnecessary for others.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号