WebPagetest Forums
Very high time to first byte and not consistent - 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: Very high time to first byte and not consistent (/showthread.php?tid=15737)



Very high time to first byte and not consistent - neo4evr - 04-02-2019 05:47 PM

Hi
I have a website. When I checked its performance I can see that the time to first byte is very high. It is rated at F and it is not consistent.
It changes all the time and ranges from 2.5 seconds to somewhere around 8 seconds.
The test results are here: https://www.webpagetest.org/result/190402_AP_467ea5ef5b97f0e650cd93f2d46288eb/
I have W3 Total cache enabled.
The website is hosted in shared hosting.
Can you please help me out why this is happening?


RE: Very high time to first byte and not consistent - crenshaw.dev - 04-09-2019 11:59 PM

Hey, neo4evr,

It looks like your hosting provider is taking a long time to redirect http://www.sycyoga.com to sycyoga.com. You should contact them and ask what's happening.

The inconsistency is strange. But you can eliminate the overhead completely by avoiding using www. Most importantly, make sure search engines know to drop www from its links, either by using their webmaster tools directly or by setting the canonical URL in the page's markup to avoid www.

Check out this waterfall, browsing directly to https://sycyoga.com. It looks much better: https://www.webpagetest.org/result/190409_3H_75f760f1cc1fe02d71793d4fdcc63bc1/


RE: Very high time to first byte and not consistent - avalanch - 04-10-2019 11:17 PM

crenshaw has a point, you have redirect issues. You should prefer to send users simply to https://sycyoga.com/

https://gtmetrix.com/reports/www.sycyoga.com/gmqNihS0

Code:
Avoid landing page redirects for the following chain of redirected URLs.

http://www.sycyoga.com/
https://www.sycyoga.com/
https://sycyoga.com/

Aside from that, you could do with optimizing your images and deferring javascript. These are the 3 things I would work on fixing.

Optimize the following images to reduce their size by 43.2KiB (6% reduction).

Code:
Losslessly compressing https://sycyoga.com/wp-content/uploads/2018/12/IMG_0254.jpg could save 32.0KiB (26% reduction). See optimized version.
Losslessly compressing https://sycyoga.com/wp-content/uploads/2018/12/IMG_5278.jpg could save 3.1KiB (1% reduction). See optimized version.
Losslessly compressing https://sycyoga.com/wp-content/uploads/2018/12/IMG_2596.jpg could save 3.1KiB (2% reduction). See optimized version.
Losslessly compressing https://sycyoga.com/wp-content/uploads/2018/12/syclogo1.png could save 1.7KiB (13% reduction). See optimized version.
Losslessly compressing https://sycyoga.com/wp-content/uploads/2018/12/f123a.jpg could save 856B (4% reduction). See optimized version.
Losslessly compressing https://sycyoga.com/wp-content/uploads/2019/01/niladri.jpg could save 848B (4% reduction). See optimized version.
Losslessly compressing https://sycyoga.com/wp-content/uploads/2019/01/upasana.jpg could save 848B (8% reduction). See optimized version.
Losslessly compressing https://sycyoga.com/wp-content/uploads/2018/12/banner291218.jpg could save 808B (4% reduction). See optimized version.
Losslessly compressing https://sycyoga.com/wp-content/uploads/2018/12/396895_2285392016079_2081111842_n1.jpg could save 6B (1% reduction). See optimized version.

Code:
364.3KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.

https://sycyoga.com/wp-includes/js/jquery/jquery.js?ver=1.12.4 (87.0KiB)
https://sycyoga.com/wp-content/themes/kallyas/framework/zion-builder/dist/znpb_frontend.bundle.js?ver=1.0.23 (40.0KiB)
https://sycyoga.com/wp-content/themes/kallyas/addons/slick/slick.min.js?ver=4.16.8 (37.3KiB)
https://sycyoga.com/wp-content/themes/kallyas/js/znscript.min.js?ver=4.16.8 (30.7KiB)
https://sycyoga.com/wp-includes/js/jquery/ui/datepicker.min.js?ver=1.11.4 (29.7KiB)
https://sycyoga.com/wp-content/themes/kallyas/js/plugins.min.js?ver=4.16.8 (28.8KiB)
https://sycyoga.com/wp-content/plugins/booked/assets/js/functions.js?ver=2.2.2 (25.7KiB)
https://sycyoga.com/wp-content/themes/kallyas/addons/scrollmagic/scrollmagic.js?ver=4.16.8 (15.5KiB)
https://sycyoga.com/wp-content/plugins/booked/assets/js/tooltipster/js/jquery.tooltipster.min.js?ver=3.3.0 (14.0KiB)
https://sycyoga.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.1.1 (8.3KiB)
https://sycyoga.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 (7.7KiB)
https://sycyoga.com/wp-content/themes/kallyas/addons/smooth_scroll/SmoothScroll.min.js?ver=4.16.8 (6.6KiB)
https://sycyoga.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js?ver=2.70 (6.2KiB)
https://sycyoga.com/wp-content/plugins/booked-woocommerce-payments//js/frontend-functions.js?ver=4.9.10 (4.2KiB)
https://sycyoga.com/wp-content/plugins/booked/assets/js/spin.min.js?ver=2.0.1 (3.6KiB)
https://sycyoga.com/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4 (3.3KiB)
https://sycyoga.com/ (3.0KiB of inline JavaScript)
https://sycyoga.com/wp-content/plugins/booked-frontend-agents/js/functions.js?ver=2.2.2 (2.6KiB)
https://sycyoga.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js?ver=3.5.3 (2.0KiB)
https://sycyoga.com/wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js?ver=3.5.3 (1.9KiB)
https://sycyoga.com/wp-content/plugins/click-to-chat-for-whatsapp/assets/js/app.js?ver=1.6 (1.6KiB)
https://sycyoga.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js?ver=2.1.4 (1.6KiB)
https://sycyoga.com/wp-includes/js/wp-embed.min.js?ver=4.9.10 (1.2KiB)
https://sycyoga.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js?ver=3.5.3 (825B)
https://sycyoga.com/wp-content/plugins/booked/assets/js/spin.jquery.js?ver=2.0.1 (684B)
https://sycyoga.com/wp-content/plugins/js_composer/assets/js/vendors/woocommerce-add-to-cart.js?ver=5.4.7 (375B)