Посмотрите в отладке запросы к базе и скопируйте сюда медленные. Можно скриншотами.
ph3no, включите отладку.
Посмотрите в отладке запросы к базе и скопируйте сюда медленные. Можно скриншотами.
Вот, у которых самый высокий рантайм.
/system\controllers\tags\model.php => 131 => modelTags->getTagTargets()
SELECT i.*
FROM cms_tags_bind i
WHERE (i.tag_id = '1327')
Runtime 1.33126 seconds
SELECT COUNT( i.id ) as count
FROM cms_con_cars i
INNER JOIN cms_tags_bind as t ON t.target_id = i.id AND t.target_subject = 'cars' AND t.target_controller = 'content'
WHERE (t.tag_id = '1327') AND (i.is_approved = '1') AND (i.is_deleted IS NULL) AND (i.is_pub = '1')
Runtime 1.36886 seconds
/system\controllers\content\model.php => 2547 => modelContent->getContentItems()
SELECT i.*, u.nickname as `user_nickname`, u.avatar as `user_avatar`, u.groups as `user_groups`, f.title as `folder_title`
FROM cms_con_cars i
FORCE INDEX (date_pub)
INNER JOIN cms_tags_bind as t ON t.target_id = i.id AND t.target_subject = 'cars' AND t.target_controller = 'content'
INNER JOIN cms_users as u ON u.id = i.user_id
LEFT JOIN cms_content_folders as f ON f.id = i.folder_id
WHERE (t.tag_id = '1327') AND (i.is_approved = '1') AND (i.is_deleted IS NULL) AND (i.is_pub = '1')
ORDER BY i.date_pub desc
LIMIT 0, 15
Runtime 3.42900 seconds