Cart Performace died after Cloudflare setup


I’ve setup Cloudflare two weeks ago and since then I’m strugling to make my site perform well.

Everything is ultra-slow (add to cart takes like 10 seconds).

Here’s an example from my site:

I’ve done the page rules to bypass cache on cart, checkout and account but things are still running super slow.

Appreciate some help :slight_smile:

True … your site itself is slow and 100% was before aswell. Cloudflare does speed up your site, but just static content. Your DOM/HTML is by default not static (and should not be) and a Cart always is dynamic. Therefore Cloudflare will not speed them up.

So your nativ PageLoad takes about 4s - 5s. Thats the main problem here.

What I would recommend:

  1. Try to cache as much as possible (normal sites/productpages etc) static with a Plugin
  2. check if your Server does have enough ressources and if all recommended and required server-related things are meet. (OpCache, APCu, enough memory_limit) and

What these points do:

  1. will speed up static pages and take load away from your Server
  2. will speed up dynamic pages (what the core problem here is)

Another things that could cause this is what your origin Server is far away from your visitors and also from me. But when it comes to “distance as a problem” you will have to use CDNs for propagating even your dynamic DOM/HTML to other regions of the worlds for a better and faster experience.

1 Like

Martin, hi! Thanks for your help man, I appreciate it. Will check those and see what comes out.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.