WebPagetest Forums
High TTFB & Security issue - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: High TTFB & Security issue (/showthread.php?tid=16131)



High TTFB & Security issue - nurjoyislam - 07-09-2020 05:28 PM

I am getting high TTFB for my wordpress site. And a security error.

I am new to wordpress and web development, can anyone please point out the cause of the issues?

https://www.webpagetest.org/result/200709_ZD_4c8f8795407bd35f3a3b4be5fa899d3c/


RE: High TTFB & Security issue - Cymru - 07-10-2020 06:33 AM

I'm no expert but I'll take a stab at this;

Firstly security. If you click on the big red F, it will open the page below. Then you'll need to follow the recommendations. If you are running wordpress, the jquery is a false positive because they back port security fixes but the other items should be addressed.

https://snyk.io/test/website-scanner/?test=200709_ZD_4c8f8795407bd35f3a3b4be5fa899d3c&utm_medium=referral&utm_source=webpagetest&utm_campaign=website-scanner

Next, you need to look for render blocking script. If you have script blocking the render of your page, it's going to take a while. I'd also be searching for any third party code and try and load it in the footer. If you have a lot of plugins, try to reduce the amount and only use the ones that you absolutely must have.

That's nowhere near comprehensive but I bet you it is a good start. Lastly, use a good plugin to optimize your css & js. I would suggest you check out autoptimize which is a fantastic WP plugin.

Good luck.


RE: High TTFB & Security issue - dfavor - 07-28-2020 08:02 AM

1) No Malware detected on your site.

2) Best to upgrade to PHP-7.4.8.1 just to be safe. You'll have to check release notes for security items.

3) The long time required to serve your HTML relates to your database.

Since you're running WordPress, best first step is to run mysqltuner + implement suggested fixes.

This will resolve many or all problems related with generating + serving your HTML component.