Hi everyone.
Is there anyone that want to share their performance setup for ecommerce shop? I have cloudflare pro on my site and just added WP Rocket aswell to hopefully get a better performance and a faster site. However it seems to be slower than ever, I really struggle to find plugins that tick all the boxes while working together with no problem (Webp, file compression, lazy load, better image sizes, caching, and all the other things you want on your site nowadays)
I currently use Redis Object Cache, Cloudflare pro, wp-rocket and imagify as my setup.
I think wp-rocket works very well for general optimization, but does not seem to be caching that well for me. Maybe it's conflicting with other plugins?
But its really not working out.
You haven’t mentioned who your web host is or what your plan is, that makes a big difference.
Would be great to get your website URL or a speed test URL (GTMetrix ideally, or even Google PageSpeed Insights)
But few recommendations given you’re using Woocomerce:
**1.** First, test and see your TTFB (first request in GTMetrix > Waterfall tab) is fast enough. It shouldn’t be more than 600 ms for Ecommerce site and ideally less than 250ms if you’re using a good host and Cloudflare Pro (given you have proper caching set up)
**2.** Make sure to check Waterfall for AJAX CART FRAGMENTS, this is usually not cached and used to show latest Cart data via ajax, but it is usually a super-slow request, so disable this using “Disable Cart Fragments” plugin, if it works for your use-case.
**3.** Check your website headers for various webpages to ensure pages are indeed being cached. Check “**cf-cache-status**” to check Cloudflare caching and **x-cache-hit** or a similar header depending on your server and hosting.
**4.** Make sure to Preload your Homepage’s Hero image, something like this will work if you need to do manually by adding code to Header:
`<link rel=”preload” as=”image” href=”important.png”>`
**5.** Remove and disable all unnecessary and non-critical plugins, Avoid as many 3rd party scripts as you can, or at least, “Delay JS Loading” for these via WPRocket.
**6.** Also test by disabling all plugins (ideally on test/staging server or after backup, if you know it is safe to do so), if this improves speed substantially, activate them one by one and see which one slows the site the most.
**7.** Use Query Monitor plugin to test website backend slow queries.
**8.** Also look into Cloudflare APO (Automatic Platform Optimization) which is already included in your Pro plan (but it might conflict with WPRocket) so test and see what works best.
With proper Cloudflare cache, your website should be really fast. But again, your Hosting might be a bottleneck too, so test it. Ideally at least a 2-4GB RAM VPS is bare minimum for a critical ecommerce WordPress site.
Best of luck! 🙂