Why Nostr? What is Njump?
2024-07-23 02:04:21
in reply to

ava on Nostr: ...

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.
Author Public Key
npub1f6ugxyxkknket3kkdgu4k0fu74vmshawermkj8d06sz6jts9t4kslazcka