I have been optimizing my site, using tech support messages in the forum—replies that you folks have sent me here in the tech support forum and that you sent to others, as well.
And I used all the suggestions in the wiki.
One suggestion I read was to try and reduce embed tags, to help reduce queries, and to use as few queries as possible.
My website is very “graphical” in that all my content is inside a 3D radio graphic, which is sliced/diced into many little pieces.
To make changes to the top and bottom button bars easier, as well as changes to the branding at the top of the radio, I took the 4 rows of sliced graphics at the top and the 4 at the bottom and created a separate template for each of them, keeping all 8 row/templates in a template group called “radio.” I call to them with the embed tag between the beginning and ending TR tags on each page.
I just experimented with comparing these templates with 2 additional, experimental ones that I created that do not have the embed tags; instead, they contain the TD tags and all the image tags within them.
The number of queries for one of these 2 experimental pages was reduced from 25-32 (different on each visit) to 13. On the other experimental page, queries used to display the page were reduced from 22 to 14. Is that a significant reduction? Is it worth changing the code for this number of queries and losing the convenience I get by calling to those rows with an embed tag?
Also, pardon my lack of knowledge, but why do some of my pages always require the same number of queries to display them, and other pages require a different number of queries each time I visit those pages? Is it because the fluctuating ones have weblogs? (That seems to be the thing that makes them fluctuate, but I can’t tell.) What causes the number of queries necessary to display a page to fluctuate?
Thanks so much!
-Ceil