Response Time 6-7 sec after SSL enabled

dash-crypto
#1

Hello,

I have an SSL enabled CF site. (SSL status Full, Edge certificate created.) Before making changes, response time was around <1 second. But now after typing the site name and press enter in any browser, we have to wait 6-7 seconds to see the homepage.

What would be the reason?

Gokhan

#2

There could be many reasons, would you mind sharing the domain name?

#3

mas-insaat.com.tr

#4

How are you doing the redirects? Page Rules/UI or server-side? The delay seems to be the first page rendering.

Adding the link to a test:
https://webpagetest.org/result/190225_2B_af6e4be4333882636c4e577390fb745c/

#5

I have not used any page rules yet. I am doing the redirects from CF user interface only.

#6

Well, the mas-insaat.com.tr to www.mas-insaat.com.tr is quick (I suspect cached by Cloudflare), but the replies with redirect from www.mas-insaat.com.tr to the HTTPS version and the reply to the HTTPS take a while. I think you should add a page rule for the initial redirect (which are in the user interface) and then enable the Always Use HTTPS toggle in the Crypto tab.

I expect the issue is some problem in the rendering of the Wordpress server. Can’t help you there unfortunately. Maybe @sdayman can.

#7

Page rule is added. Always use https toggle is now ON. But I think no changes.

#8

There was a big change, confirming my suspicions.

Two things:

  1. you need to remove the redirect from mas-insaat.com.tr to www.mas-insaat.com.tr server side since it is removing HTTPS.
  2. the server is taking extremely long to reply, optimize Wordpress.

Look at the new waterfall here, you’ll see all the redirects and the delay in the HTML:
https://webpagetest.org/result/190225_KF_d41fa4b4f98c85046972607048bf29ac/

#9

Since the site doesn’t require visitors to log in, I would suggest two things:

  1. Use a Page Caching plugin like W3TC. Personally, I use WP Fastest Cache since it’s efficient.
  2. Use Cloudflare Workers to intelligently cache your site:
    https://blog.cloudflare.com/improving-html-time-to-first-byte/
1 Like
#10

Thank you. How can we test wp fastest cache plugin to understand whether it works?

closed #11

This topic was automatically closed after 30 days. New replies are no longer allowed.