Removing the www
I've discovered by accident that on a couple of graphic-intensive sites I have that if I remove the www from the url, the site speeds up enormously.
For example, one site dorisday.net - if you compare the page WITHOUT the www:
http://dorisday.net/Pilow_Talk/index.html
It loads straight away. The same page WITH the www:
http://www.dorisday.net/Pilow_Talk/index.html
takes ages.
This works across all of my sites. Does anyone know why? And can you publish without the www. prefix? I tried in Dreamweaver behaviours to get the page to go to the non-www page when loaded but it didn't work.
I've never heard or read anything about this so any help would be much appreciated.
Bryan James
Renegade posted this at 23:52 — 15th January 2005.
He has: 3,022 posts
Joined: Oct 2002
I think its not a matter of removing the "www" or not. The thing is, it seems like you have visited the site first, with the "www" and then revisited the site again without the "www." The images are already stored in the cache the second visit so loads faster. Try it again by emptying the cache for the second visit.
Abhishek Reddy posted this at 07:55 — 16th January 2005.
He has: 3,348 posts
Joined: Jul 2001
Renegade, the second loads slower. For me on a 56k, by about a minute. Not a cache issue.
If I were to take a shot in the dark, I'd say it's how the server is configured -- possibly the number of http connections to the www. address is less than the number for the address without. Talk to whoever runs your server. Or if that's you, tell us what you're running.
CptAwesome posted this at 10:40 — 16th January 2005.
He has: 370 posts
Joined: Dec 2004
Well, www is technically a subdomain, and a totally different beast than without. So, it is fully possible that the www and non are on different servers, and the www is more busy/overloaded. They do both resolve to the same IP address, so they aren't on different servers... could be that there is some form of web server redirect process that has to take place to make it www. so yeah, contact the admins.
oh, and on a DSL connection, the difference is about a minute, heh.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.