Local Environment:
- MODx Revo 2.0.8-pl
- XAMPP for Windows Version 1.7.3
- Windows 7
- Server: localhost via TCP/IP
- Server version: 5.1.41
- Protocol version: 10
- User: root@localhost
- MySQL charset: UTF-8 Unicode (utf8)
- Web Server
- Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
- MySQL client version: 5.1.41
I’m having performance issues. This page
http://www.seaville-suzuki.com/motorcycles-2011-models/ and other similar aggregator pages are very slow to load. Basically what the page does is call getResources to pull out 15 records from the database.
I’m new to the MySQL / php world so i’m probably doing many things wrong but i was wondering if you could see any glaring errors in what i’m doing.
I did compress my main css file which is quite large (24k) and i know that my class names are long (i’m old and crs) but this all seems insignificant in the total page size.
So is my problem in the database access portion? How can i debug this?
Any suggestions would be greatly appreciated.
Thanks,
Steve
edited to add: I did optimize the mysql tables.
Also, here is my call to getResources:
[[!getResources? &parents=`4` &tpl=`ProductListingBoxTpl-even` &includeTVs=`1` &processTVs=`1` &sortby=`menuindex` &sortdir=`ASC` &limit=`0` &hideContainers=`1` &resources=`-32,-27` ]]
edited to add:
crud - removed the call to getResources, problem still exists - now the page is hardly loading anything...