News for hackers. Stuff that matters.
Re:To www or not www by zimbatm on Saturday March 18, 2017 @03:27PM (#13903045)
After having tried both I'm very much in the WWW camp. Even though the naked domain looks nicer, it's just not worth the hassle.

> End users save an extra DNS lookup

Most intermediate resolvers will return both the CNAME and A record in one response anyways.

Another issue with naked domains is that all the cookies are automatically served on subdomains as well. It's just another hassle to worry about when trying to keep the cdn clean or wondering why a session works only in specific cases.

Re:To www or not www by z3t4 on Saturday March 18, 2017 @03:53PM (#13903182)
Connection limits to CDN from naked domain might also be limited. Can anyone confirm ? Ex: if browser limit is 2 connections per host, bare + sub will only give 2 connections, while sub + sub will give 4 connections.

If you are using Websockets or AJAX the connection limit can become an issue.

Also some users always write www in front of the domain. Although some browsers will just redirect to Google. So if you check browser referer a lot will be from www.google.com?q=www.yourdomain.com

Re:To www or not www by bobfunk on Saturday March 18, 2017 @04:21PM (#13903313)
With HTTP2 support this is not longer really a problem, since HTTP2 multiplexes requests over 1 connection.
Re:To www or not www by jrochkind1 on Sunday March 19, 2017 @01:23AM (#13905390)
I think few web apps (aka software driven sites, not just static content) use http2 yet.
Re:To www or not www by aidos on Saturday March 18, 2017 @04:34PM (#13903384)
I believe the Chrome connections per host is now 6 (even under old school http). Not sure about the other browsers.
Re:To www or not www by Klathmon on Saturday March 18, 2017 @09:19PM (#13904557)
I believe most are 6 and have been for at least a few years.
Re:To www or not www by tradersam on Saturday March 18, 2017 @03:50PM (#13903163)
So you're "very much" in the WWW camp but you don't even use it on your own site. Curious.
Re:To www or not www by mod on Saturday March 18, 2017 @04:17PM (#13903290)
Sometimes you have to make the mistake to know it was one. I wouldn't trust his opinion if he had never tried non-www.
Re:To www or not www by zimbatm on Sunday March 19, 2017 @08:53AM (#13906775)
Yes basically this is the main reason. I could change it but I have better things to do.

Also my www recommendation is for commercial websites who tend to have multiple subdomains, more traffic with HA requirements, and a more complex setup than a static website.

Re:To www or not www by aidos on Saturday March 18, 2017 @03:58PM (#13903200)
That's a slightly strange personal attack. Their site may be one of the ones where they tried the naked domains.
Re:To www or not www by tradersam on Saturday March 18, 2017 @03:59PM (#13903210)
It wasn't a personal attack, literally only an observation.
Re:To www or not www by Dylan16807 on Saturday March 18, 2017 @05:40PM (#13903656)
The way you word the statement and then append "Curious." makes it somewhat hostile. It's a callout, not just an observation.

"I'm curious why you say you're 'very much' in the WWW camp but you don't use it on your own site." would not have the same tendency to register as an attack.

Re:To www or not www by gkya on Saturday March 18, 2017 @05:59PM (#13903728)
That's just a comment written in a second or two, not a verse from the bible. No need to dissect it this deep. If this is hostile, asking "how are you" is too, implying one may be in bad shape.
Re:To www or not www by joslin01 on Saturday March 18, 2017 @09:37PM (#13904632)
If it's a comment written in a second or two, is it worth posting? It was definitely a call-out as indicated by the finality of "Curious"; it could have been asked very matter-of-factly if he was actually curious.
Re:To www or not www by tene on Sunday March 19, 2017 @01:25AM (#13905398)
As a contradicting opinion, by my conversational standards, the comment reads as just an observation that this is curious, and an implication that the poster would be interested in more information. It does not read at all like an attack to me.
Re:To www or not www by astrobe_ on Sunday March 19, 2017 @03:36AM (#13905825)
Some/Many posters here are not native speakers. There's no English conversational standard on the Internet.
Re:To www or not www by tene on Sunday March 19, 2017 @05:32AM (#13906121)
Yes, that's why I was explicit that I was discussing my personal conversational standards that reflect my personal history, which is different from yours. As you point out, there are people from a wide variety of backgrounds on the internet, and part of participating in the internet is understanding this and expecting it.

When you see something that you might think is hostile, it's often more productive to give them the benefit of the doubt and presume that they intended good faith but have different conversational norms from you. In the best case, they meant well, and everything proceeds nicely. In the slightly worse case, they didn't mean well, but you've helped de-escalate, and things are back on track for a nice discussion. In the worst case, they get more blatant in their attacks, and at least you'll find out that productive discussion wasn't possible anyway. Not much downside, and lots of upside, in my experience.

Re:To www or not www by z3t4 on Saturday March 18, 2017 @03:59PM (#13903207)
Some domains just sound much better without the www. You should weight the advantages vs disadvantages ...
Re:To www or not www by pbhjpbhj on Saturday March 18, 2017 @04:29PM (#13903361)
Depends on your audience too. If you're targeting non-savvy web users then www is a clear indication that a string is a web domain. Not so important for a .com but if your site is example.io or some such ...
Re:To www or not www by manojlds on Sunday March 19, 2017 @03:43AM (#13905851)
Interesting point on .com vs others for www.