Hi,
I have a few questions I’m hoping you all can help me with. I’ve already spoken to the support folks at Engine Hosting where I host my site (on an S-3 plan, not one of the smaller shared plans) and I think some of my questions are best suited for EE folks.
Over the last few months I have experienced a number of speed issues on the site. This comes despite multiple attempts to clean up my code and use the best practices lists I’ve been given by both EH and seen here on the EE website. While I do use a variety of third party add-ons, most, if not all, are by major and well respected add-on developers like Solspace, Pixel and Tonic, and Barrett Newton, etc. Plus I don’t feel I’ve gone overboard with the add-ons - we typically use the same number of add-ons (or more) on sites I develop at work. And typically at work I never experience speed problems with my EE installations. These websites however are much smaller in size and scope though - and they receive much less traffic.
My suspicion has been that I may have too many custom fields on my slower personal website. It’s a travel site and I decided to create channels for each type of attraction for the destination in question (Sights, Beaches, Hiking Trails, Dining, etc, etc). All said and done each channel then has about 10-15 unique custom fields, giving me about 130-140 total custom fields. Combined with some other content channels, I maybe have a total of 180 custom fields on the site. This doesn’t seem or feel like an extreme amount to me. I could swear some of my older EE1 sites had more than that and never had major problems. But my site has become increasingly slow - particularly in the backend when publishing or editing entries. Thanks to help from Template Morsels and add-on’s like CE Cache, I have been able to keep the front end fairly speedy (though Google Analytics still reports 4-6 second page load times; far from ideal).
The weird thing is, when I publish an entry, even though I can sit there and count to 30 in some cases, the query count is only around 36 queries and a load time of 0.5622 seconds. I am not especially well versed in reading the Output Profilers, etc - but I’m sure the answer is probably in there as to what’s causing the long load times. It is odd however the execution time is so short and the load time in the browser so long.
My main question is this… should the number of fields I have cause me any problems? And if so, what options do I have to combine them into perhaps a single set of fields where that set of fields is shared amongst all my channels (which is how I should have probably set it up to begin with)? I have thought about exporting the data and then re-importing it, but with 600+ entries using a variety of custom field types, that could be difficult.
Thanks for any help you can provide. Please let me know if you need any additional information on the site or my configuration. I am running the latest version of EE and I do keep all my add-ons up to date. Again, hosting at EH, so I trust them to keep the server up to date. I am going to try Varnish with them to see if that helps, but I’m hoping there are other options for me as well.
-John