4 ms·
HN does have sub-domain support if the link is posterous or a few other sites. I don't know why it is not enabled for all links though.
by zmanji 15y ago
HN does have sub-domain support if the link is posterous or a few other sites. I don't know why it is not enabled for all links though.
- justin_vanw 15y agoPG: Make the decision on what sites to show subdomains on at page render time, based on a flat file list of domains. Have a job run every now and then that checks submitted urls, and creates the flat file list of domains, including any domain with more than N different subdomains submitted, where N is high (maybe 400 different sub domains or something). If this file would be large, just build it based on the last M submitted urls (nobody will be browsing the older ones anyway, so if a domain comes and goes oh well).