Tagged: Page Load Times
When using your theme XStore Woocommerce is creating a long string of blocks of text flying by that turns out to be from database queries.
A lot of these queries have large output and are related to the wp_posts table, so I searched through the output and found that a single page load of the main page performs 564 queries against the wp_posts table. There’s too many to paste in here.
A lot of the queries seem identical to each other, making it seem something is doing selects with large output and then narrowing it down after, but it definitely accounts for the very long pause when loading the page.
The last php file called before a huge chunk of queries that look like “SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_parent = 4620 AND wp_posts.post_type = ‘product’ AND ((wp_posts.post_status <> ‘trash’ AND
wp_posts.post_status <> ‘auto-draft’)) ORDER BY wp_posts.post_date DESC “, 234”
So it’s something woocommerce is doing, however if I switch to any other theme, the page loads just fine.Site URL: hidden Theme version: 2.1 WooCommerce version: 2.6.4
When we test pages with equal content with default theme we see almost the same results. Please,
Read these posts, they may help you to speed up your site
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Seems you did not register purchase code for XStore WordPress Support Forum to be able to create a topic on this forum.