Falkon303
01-16-2009, 01:59 AM
With ajax tabs, every time a tab is clicked, there is a get request for the content associated with that tabs id.
I am curious if it would be better to first check the innerHTML contents of the associated content holder instead of redundantly calling requests.
Obviously the content will be pulled from cache, but I have a feeling that once the content is loaded, you could set it as permanent innerHTML, and not worry about an unneeded request.
I am not sure if this would provide efficiency in any form, but logically, it seems to make sense that it might, being that requests/posts affect performance on a small scale. With the future of net heading dynamic, this may make more sense..Just an idea. Any thoughts?
I am curious if it would be better to first check the innerHTML contents of the associated content holder instead of redundantly calling requests.
Obviously the content will be pulled from cache, but I have a feeling that once the content is loaded, you could set it as permanent innerHTML, and not worry about an unneeded request.
I am not sure if this would provide efficiency in any form, but logically, it seems to make sense that it might, being that requests/posts affect performance on a small scale. With the future of net heading dynamic, this may make more sense..Just an idea. Any thoughts?