Mobile app version of vmapp.org
Login or Join
Radia820

: Why is a www to no-www redirect so slow? I'm quite new to running a website, and I've recently run my page through some page load time measurements to try and reduce load time. After scaling

@Radia820

Posted in: #LoadTime #Optimization #Redirects

I'm quite new to running a website, and I've recently run my page through some page load time measurements to try and reduce load time. After scaling down my images etc, I find that the bottleneck comes from 'wait' time, notably time spent waiting for a redirect from my www domain to the domain without

Is there a way to prevent the additional load time caused by the redirect, while still having my page be accessible with or without the www in the URL?

I am running on a Wordpress installation on DreamHost.
tools.pingdom.com/fpt/#!/cmbT5V/http://www.kiwifoodie.co.nz
This question is about why the wait times are slow when loading page, but it does not address redirects.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Radia820

2 Comments

Sorted by latest first Latest Oldest Best

 

@Eichhorn148

Interesting note, thanks. I was using DreamHost's redirect option. I should be looking at handling it via code in .htaccess instead, then?


This is the difference: my site does this redirect quickly on Dreamhost and yours does not. Dreamhost has a setting for this that makes it work quickly. It can be set outside of wordpress using the Dreamhost panel:



To get this:


Log into panel.dreamhost.com/ Click on "Manage domains"
Click the "Edit" button next to your fully hosted domain

10% popularity Vote Up Vote Down


 

@Martha676

If you wish to speed up the redirect, instead of using DreamHost for your DNS services and adding a site redirect in DreamHost, you might manage your DNS through your domain name registrar (Aust Domains), whose services if you're lucky may use anycast DNS and perform much faster. You would then setup the HTTP redirect in their control panel.



Pricing for shared web hosting is always dependent on requirements - for example, the amount of diskspace required, bandwidth required. Since in reality, you get what you pay for, if you are looking for unlimited diskspace and unlimited bandwidth but also a premium level of performance this will not come cheap however if you work out what you actually need in terms of diskspace and bandwidth and then shop around you might find a premium performance hosting solution that fits your requirements without the high price.

Alternatively Pay-As-You-Go cloud hosting solutions such as Amazon S3, Microsoft Azure, Google Cloud etc., can offer high performance for low budget if your diskspace and bandwidth requirements are not excessive.

You could also use a CDN/acceleration service such as CloudFlare to improve your DNS, redirects and site performance.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme