ava on Nostr: I hear you. The SEO benefits that once were are basically non-existent now. And for ...
I hear you. The SEO benefits that once were are basically non-existent now.
And for smaller sites the benefits are negligible so it really does come down to personal preference.
However, I've been developing sites for 20 years now and there are factual technical benefits to using www when working with large sites.
For example, if you have multiple subdomains, it helps with cookie management. Using www allows you to separate cookies from other subdomains.
When using a naked domain, cookies set for the naked domain are automatically sent to all subdomains. This can create issues with cookie management, particularly in terms of security, privacy, and performance.
So if one subdomain is compromised, an attacker could compromise your entire site when using a naked domain. Also there can be potential privacy issues if cookies with sensitive information meant for the naked domain are accessible to all the subdomains.
There is also a performance boost since you are not sending unnecessary cookies with every request.
In addition, using "www" allows you to create a CNAME record pointing to another domain which is particularly useful for load balancing and redundancy. For example, you can have (www.example.com) point to a CDN, while (example.com) directly points to your server.
Another example is that Netlify recomments www because they don;t support CNAME flattening like cloudflare does.
etc. etc.
Published at
2024-07-23 02:03:24Event JSON
{
"id": "ecfb1bbd056d9a8bb1b379f1b61b6041c533d76e40e3e8eb9ab81b1691c447ba",
"pubkey": "4eb88310d6b4ed95c6d66a395b3d3cf559b85faec8f7691dafd405a92e055d6d",
"created_at": 1721693004,
"kind": 1,
"tags": [
[
"e",
"ed92c7befa5dc9cc9c1316d027038cf17028ef5f2665bee7fd8985fa9e202f76",
"",
"root"
],
[
"e",
"dfd9119464820168eef38760746f406b8b9f9ada572291e4d4872e8c3047ccee"
],
[
"e",
"7a9999076fde73c85fb6df9e75ca96ba2ee55c26589506e951e290d4af9929f6",
"",
"reply"
],
[
"p",
"4eb88310d6b4ed95c6d66a395b3d3cf559b85faec8f7691dafd405a92e055d6d"
],
[
"p",
"d0debf9fb12def81f43d7c69429bb784812ac1e4d2d53a202db6aac7ea4b466c"
],
[
"r",
"www.example.com"
],
[
"monero",
"85E3shTFSsQT1fqKqc4VsSVYhXkWSLXUdcfc4TwL2AVX1FnHeydBisiFsPhviFSjT3La2ixU78p8PWFkH3LC9zXULk96man",
"1.0"
]
],
"content": "I hear you. The SEO benefits that once were are basically non-existent now.\n\nAnd for smaller sites the benefits are negligible so it really does come down to personal preference.\n\nHowever, I've been developing sites for 20 years now and there are factual technical benefits to using www when working with large sites.\n\nFor example, if you have multiple subdomains, it helps with cookie management. Using www allows you to separate cookies from other subdomains.\n\nWhen using a naked domain, cookies set for the naked domain are automatically sent to all subdomains. This can create issues with cookie management, particularly in terms of security, privacy, and performance.\n\nSo if one subdomain is compromised, an attacker could compromise your entire site when using a naked domain. Also there can be potential privacy issues if cookies with sensitive information meant for the naked domain are accessible to all the subdomains.\n\nThere is also a performance boost since you are not sending unnecessary cookies with every request.\n\nIn addition, using \"www\" allows you to create a CNAME record pointing to another domain which is particularly useful for load balancing and redundancy. For example, you can have (www.example.com) point to a CDN, while (example.com) directly points to your server.\n\nAnother example is that Netlify recomments www because they don;t support CNAME flattening like cloudflare does.\n\netc. etc.",
"sig": "24bad1d9bdb15e7e67c13f5c0ab9e7ef642035e7fea5780c5a18025ca2cba056c86389ba4584d3b86c8f177db2542f57be9e7db22c96f0ee40e3e1110264ee63"
}