admin管理员组

文章数量:1434908

my wordpress site is hosted on godaddy, using flatsome theme, 7 plugin (including img-lazy load & woocomerce). i have use free cloudflare cdn, but still my site need 13+ seconds to load. i have checked it on gtmetrics, and it says i have too much DOM (4,5k+)

my wordpress site is hosted on godaddy, using flatsome theme, 7 plugin (including img-lazy load & woocomerce). i have use free cloudflare cdn, but still my site need 13+ seconds to load. i have checked it on gtmetrics, and it says i have too much DOM (4,5k+)

Share Improve this question edited Mar 29, 2019 at 20:00 norman.lol 3,2413 gold badges30 silver badges35 bronze badges asked Mar 29, 2019 at 15:52 Rizki ApritaRizki Aprita 1 3
  • 1 We don't provide site audits. Apart from that the question is way too broad when you don't tell us what you've tried yourself so far and where exactly you are stuck? – norman.lol Commented Mar 29, 2019 at 18:32
  • @leymannx In this case it's a matter of understanding how sessions can have an effect on performance. I think this is an important subject even if the question is not worded this way. – MikeNGarrett Commented Apr 5, 2019 at 13:55
  • 1 @MikeNGarrett – It always is important. And this may be an interesting riddle to be solved, indeed. But this question doesn't care about being a good question or showing any efforts of solving the issue on their own. It also doesn't care about our guidelines. That's why this question should be flagged instead of being answered hunting for rep. My opinion. Although I like your answer as it gives an interesting starting point for OP to hop on. – norman.lol Commented Apr 5, 2019 at 15:48
Add a comment  | 

1 Answer 1

Reset to default 2

You are using Woocommerce which starts a session for every visitor to your site. This limits Cloudflare's cache performance since each unique session needs to be handled individually. That's how things like the shopping cart work.

Woocommerce added the ability to store this session data in object cache rather than the database (memcached/Redis/etc).

I'm not familiar with GoDaddy's hosting since I personally don't recommend that company, but they should have object cache storage of some sort available. It's just a matter of you configuring WordPress and Woocommerce to use this cache.

That should help things a bit.

本文标签: performanceHow to improve my site39s loading time