Closed (outdated)
Project:
Quick Tabs
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2008 at 22:42 UTC
Updated:
19 May 2020 at 20:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pasqualleI could think about only one change that could make this effect. Earlier the first tabpage within ajax quicktabs was loaded at page load, now it is loaded dynamically after the page is loaded.
There was a problem that it seemed like that the first tabpage was special within ajax quicktabs. The ajax views always worked without problem on the first tabpage, but they had problems on the other tabpages. Now the first tabpage is no different than the others..
The page load should be faster now, as the first tabs are loaded after the page is loaded. And the overall time to display the page plus the first tabs should be the same as earlier.. Can you please test the overall time, and confirm or deny my theory?
I would rather fix #341017: provide processing icon for ajax tabs issue, to make it clearly visible that the tabs are still loading, than revert that change..
Comment #2
Flying Drupalist commentedHi, is it possible that loading the first tab separately increases the number of HTTP requests? If the mysql load time is very small, then what's most noticable to me is the request time, which is increased. I'm also sure that closing and reopening connections to the mysql server means a bit hit to the load.
I seen no downside to having the first tab different, other than that it may confuse some people when things work there and don't work on secondary tabs, but ultimately that's a minor issue for the developer but will result in speed improvements for the end user.
I'm not sure if I can test the different loads, but I'm 99% sure the new loading is overall slower, it may be due to the ajax requests, database connections being opened and closed, and I'm definitely not looking forward to having half of my page being covered in loading icons while blocks load one by one.
Thanks.
"I would rather fix #341017: provide processing icon for ajax tabs issue, to make it clearly visible that the tabs are still loading, than revert that change.."
I think it's probably best to do both. Thanks.
Comment #3
Flying Drupalist commented@Pasqualle what do you think about this?
Comment #4
pasqualleI think you are right. here is a quick patch
change line 199 in quicktabs.module
to
if it is better, then I'll have to fix this properly..
Comment #5
Flying Drupalist commentedThank you very much. Works terrifically.
Comment #6
pasquallehttp://drupal.org/cvs?commit=164064
If you will have the time, please test the latest dev release.
Comment #7
Flying Drupalist commentedOK, my site is running the dev.
Comment #9
Flying Drupalist commentedNow I'm in a situation where I have large, non-essential content on first tab, and I would like the first tab to be loaded later (basically taking back what I said a year ago).
I think the best way to handle this would be to add a third radio under Ajax.
"Yes: Load all tabs, including the first, by Ajax."
Comment #10
pheraph commented+1 for the "Yes: Load all tabs, including the first by Ajax". Are there any plans to add this option?
Comment #11
kndr+1 for: "Yes: Load all tabs, including the first by Ajax". If I understand this correctly it means, that none of tab should be loaded at the startup and there is no default, active tab. It is very usefull option when content are very heavy and shouldn't be shown at the startup. I am attaching the patch
Comment #12
kndrComment #13
netw3rker commentedmoving this to 6.x-3.x-dev to see if it has been implemented in the 3.x line. if so will bump it up to 7.x-3.x for a backport to be built for 6.x
Comment #14
avpadernoI am closing this issue, since it's for a Drupal version no longer supported.