DNS caching on Digitalocean

November 29, 2013 2.7k views
fhonish
By:
fhonish
Hi, I recently implemented Magento on 10/month plan. So far I am happy with the configuration and the price :). Only issue I have is DNS caching. When I do website speed test through pingdom, it takes about 900+ ms to get a response. Is there away I can improve average response time for my domain?
3 Answers
I'm not sure how this is related to DNS caching. I've never used Magento, but see if this helps: http://www.demacmedia.com/magento-commerce/improving-magento-performance/.

I am guessing you are talking about time to first byte (TTFB) which is 900+ms in your case.

DNS caching has nothing to do with it. if you are not using full page cache 900ms time to first byte for magento is normal. here is what you can do to get even better TTFB:

  • profile code with magento built in profiler to identify bottlenecks in your code
  • install full page cache (by default comes with magento EE)
  • go for varnish, HHVM or php7 (with inchoo patch) if you are running VPS
  • consider increasing your hosting power (sign up for bigger(faster) plan) or get a VPS or dedicated server and configure it your way

here is an article I wrote on how to optimize magento TTFB

The cache issues in most common where we find (TTFB) in many case, DNS has nothing to do with it here is the some common issues which can be hamper your site.

https://www.cloudways.com/blog/magento-common-issues-their-solutions/

Hope this information help you out.

Have another answer? Share your knowledge.