This topic has 4 replies, 2 voices, and was last updated 1 years, 1 months ago ago by Rose Tyler
Hey folks,
We came across a big issue with speed optimization on non-cached pages.
We noticed that if we turn the cache plugin whether it is Cloudflare APO, Litespeed, Quick Cloud, or others (we tried 5 of them), the loading for non-cached pages becomes much slower. Server waiting time increases drastically.
Even if we use the Perfmatters plugin for page performance optimization then it also decreases speed for NON-CACHED pages.
Without these optimization plugins/cache server response time is 700ms-1.5s and with these plugins turned on, server waiting time increases to ~4-8s or even stalled/stuck.
Here is what we did to debug this issue.
We tried two different Elementor themes same amount of products etc. Just a different theme. And we didn’t see any issues.
We have updated the server plan optimized for WordPress to the max which has 8 cores and 12 GB RAM, and NevSSD etc.
We tested each and every plugin and no other plugins caused any issues.
You can debug yourself:
Staging environment with LiteSpeed and cache ON – staging.aromawest.com
Production WITHOUT LiteSpeed and cache – aromawest.com
We tested on different browsers etc. and we looked at the network tab in the inspect element to see which pages were not cached and what the server response time was.
3 days of extensive debugging was done by a professional developer.
Conclusion: Only using the Xstore theme server response time increases for NON-CACHED pages when the cache plugin is activated. Other tested themes work fine.
Xstore and (most likely any) cache plugin incompatibility.
Could you please check/debug on your side and let me know what is the issue and how we can fix it?
Thank you.
Hello, Oldguest,
Thank you for getting in touch with us.
1/ Cache option was inactive on your web-site → https://prnt.sc/3f7PXMZ9LHMb (we’ve activated it so you need to wait sometime till your pages be fully cached → https://prnt.sc/Q902vd-W1009 )
2/ Your logo is the most time-wasted source loading on web-site → https://prnt.sc/rwtrbtEQJDJo (why do you need so a big logo 1024×1024 if it is resized to about 120px width). We would recommend you to change it.
3/ You had the image loading option set to ‘default’ https://prnt.sc/ZRASHovwWbOx but we recommend to set it ‘lazy’ or ‘lqip’ (and we set it now as needed)
4/ Also we configured the next options’ settings → https://prnt.sc/MewuRp_bfgtM
After settings the options above we compared the results → https://prnt.sc/mUFAUr5zlv8w ( https://gtmetrix.com/compare/oY9SPsdA/HFU5UCpE )
Kind Regards,
8theme team
Hey guys,
Thank you for your response.
It seems that you didn’t understand the issue we’re facing. I would highly recommend rereading it.
We have an issue with NON-CACHED pages.
I don’t want to spam it in repeating all again but I would like to ask you to get into specifics about what I wrote above in the previous comments.
Please test it on your browsers and not the gtmetrix, for now.
Please have a look at this screenshot https://prnt.sc/McOaYnSsOhHI
It shows that non cached page takes over 5s just to get a response from the server WHEN the CACHE PLUGIN/FEATURE IS ON.
If you turn off cache then server response time decreases.
Please get into the details of this issue and let me know if you need more information on this.
Hello, Oldguest,
We have tested a few product pages and here are our results:
1/ In case we come to this product for the same first time then loading time comes to 3-4s (that is pretty ok depending on weight of files/images/scripts etc. on page) = https://prnt.sc/BFNJDPjdrshO
2/ Any other time we come to the same page we see fast speed of loading page → https://prnt.sc/a9KcB4kyYRqu https://prnt.sc/k0xStbA_Ff4_ https://prnt.sc/5LkZq5cvsqOG
3/ By inspection the headers of any product page we notice that it has Cache control set to ‘no-cache’ value → https://prnt.sc/WO7cvxSvRIxl
The no-cache directive means that a browser may cache a response, but must first submit a validation request to an origin server https://www.imperva.com/learn/performance/origin-server/ . Such setting could be set in your .htaccess file on the server or globally across the server you are using, so you need to ask your hosting provider to fix such issue of ‘no-cache’ control. More information about cache controls you can read here → https://www.imperva.com/learn/performance/cache-control/ . About correct configuration cache controls (depends on your server) we recommend you read next article → https://www.keycdn.com/support/cache-control#cache-control-configuration
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up