Skip to main content

Timeline for TTFB 2+ seconds magento 2.1.5

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Jun 30, 2017 at 19:37 comment added Chris Lingwood @Sackling simplest solution to the gzip nonsense is to use a cdn. The changing static files index means you don't even have to flush it. Cloudfront also gives you http2 (no doubt others do also). I found this decreased my over all load times a lot.
Apr 6, 2017 at 13:33 history edited 7ochem CC BY-SA 3.0
added 2 characters in body
Mar 8, 2017 at 20:18 comment added David Verholen ah ok. Yes, having varnish enabled but no configured varnish server in place might lead to having no full page cache at all
Mar 8, 2017 at 18:29 comment added Sackling Just me talking to myself, but the biggest problem was that I had varnish enabled in the full page cache options when I am on a shared server that could not have varnish enabled. Turning on the regular page cache brought down the ttfb to 300 ms. A bunch of other little changes too brought down full load to just under 3 seconds, so very happy with that.
Mar 7, 2017 at 21:14 comment added Sackling Sorry to pile on, I'm not sure anyone will even read this lol but gtmetrix has been reporting the lack of gzip, so has google page insight. I know that it is enabled but it looks like certain files are not being gzipped for instance the minified JS is a big culprit. Is there anything that needs to be done to gzip the minified files?
Mar 7, 2017 at 20:33 comment added Sackling Switching to 7.0 seems to have given a pretty nice jump in page load time. TTFB is still pretty high at 0.9 seconds on the low size and 1.5 on the high now but on a whole a big improvement so thank you for recommending that. The person I have a ticket with said I can switch but that it would not have a big effect, which I think was incorrect it had a pretty large effect. He said that Magento 2 is still in a state of development and that we would basically have to live with the long ttfb until things improve in that regard.
Mar 7, 2017 at 19:03 comment added Sackling I will ask about 7.0, I can actually make the change myself from the nexcess admin panel but will confirm with them first. My initial request was for them to enable gzip which they did. I have varnish cache enabled in admin with TTL at 86400. Css and JSS minified and combined.
Mar 7, 2017 at 18:52 comment added David Verholen yes, magento2 supports php 7.0.x (not 7.1.x yet) and it gives a really huge performance boost for php. Still, when a page is cached, it should be faster. Basically I would say, that nexcess knows what they are doing, but if they did not recommend you to switch to php7, they consulted you really bad.
Mar 7, 2017 at 18:49 comment added Sackling Thanks for the reply David, Is PHP 7 stable with Magento 2? We are currently on 5.6.30. I switched to product mode and am still getting a 2-3 second ttfb. Our host is Nexcess and we are on the starting shared hosting plan SIP 100 which I believe is plenty powerful enough for such a basic setup. There are no custom extensions unless maybe the cart2cart import uses something I am unaware of. here is a link to my last test: gtmetrix.com/reports/gostwear.nextmp.net/vL5LSusz
Mar 7, 2017 at 18:18 history answered David Verholen CC BY-SA 3.0