sub domain slower
Hi has anyone ever experienced a sub domain being slightly slower?
We have a magento staging site set up
exactly the same site, redis caching etc
Both php-fpm php7 etc
The pages on the main www load instantly but the pages on the staging sub domain have a slight delay.
Checking pingdom it's the wait time
Checking google pagespeed, ratings are lower
Weird! It's like main domains take priority in cpamel.
-
Rebuild all magento caches 0 -
Yeah we cleared all caches (Redis), but what I'll also try is a total clear in the admin (images and css/js etc) then recompile. Sub domain A points to the ip at Cloudflare the same as the www Based on what you've said, most likely to be something in magento, it is very tempermental! 0 -
Magento relies heavily on caching. I work on a couple of larger, busy Magento shops. If caching has any issues, server loads go up. After full reboots and cache clearance, the server loads will be higher for a period of time. So even if you have two identical sites, they may have varying response times (by even seconds) due to caching. There's not anything inherent in cPanel to make a sub-domain perform more slowly than a primary domain. 0 -
As was mentioned previously, neither cPanel or Apache prioritizes one domain over another. But Magento's caching could definitely be a culprit. 0
Please sign in to leave a comment.
Comments
4 comments