DNS caching on Digitalocean

November 29, 2013 1.6k views
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?
2 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

Have another answer? Share your knowledge.