Hi Everyone.
I noticed something with the site that I am working on and I am trying to pin point an answer.
In the site that I have made, I have custom content types for video, events and user profiles.
I created blocks using the views module to display, latest videos, upcoming events and user profiles.
Everything was working fine and looked good.
I recently started using the devel module to test the performance of the website.
I saw that I was averaging 480 queries on the frontpage.
Every time the page loaded devel would show that 20 times profile_load_profile and user_load queries would be run 4-6 times.
I turned off the blocks and now I am getting 320 queries on the frontpage.
The site seems much faster now as well.
What is the reason for this? Did I do something to screw up views or create the blocks wrong?
It seems like there is something weird about this since it is loading user_load a 100 times totally each time the frontpage loads.
There has to be something I am doing wrong.
Has anyone ever experienced anything like this? Would caching help?
Any help, suggestions or info would be appreciated.
Thanks!