trailing slash redirect slowing time to first byte?
-
I am trying to speed up my blog and specifically to reduce my Time To First Byte (TTFB). I know that I can do this by upgrading my host. I think an unwanted redirect is also a significant contributor to a large TTFB.
Using Load Page Analyzer I try to analyze the following URL:
https://keithhennessey.com/2012/03/19/eight-month-scoop/
The result shows that it first tries to load without a trailing slash:
https://keithhennessey.com/2012/03/19/eight-month-scoop
This then gets a 301 redirect to the page I initially entered into the analyzer:
https://keithhennessey.com/2012/03/19/eight-month-scoop/
which loads successfully (result code = 200).
The redirect is taking 1.08s, which is about half of my TTFB time. I’d like to try to eliminate it.
Here is the link to the Load Page Analyzer result:
https://loadimpact.com/page-analysis/keithhennessey.com-8e96c9de799605c5452137942e4dba05
Note that this redirect does not occur when I analyze my index page:
loads fine with no redirect.
But monthly archive pages and category pages do redirect.
My WordPress Address and Site Address are both:
and I am using this permalink structure:
https://keithhennessey.com/2012/05/27/sample-post/
One more thing — I’m using CloudFlare. Not sure if that matters. If it did I would think the redirect problem would also apply to my index page. Since it doesn’t I’m guessing it’s a WordPress issue rather than a CloudFlare issue.
- The topic ‘trailing slash redirect slowing time to first byte?’ is closed to new replies.