Hacker News new | ask | show | jobs
by eesmith 795 days ago
You've got about 2,000 octets of data, see https://stackoverflow.com/questions/417142/what-is-the-maxim... .

That link, while old, has a comment from last year pointing out 'While modern browsers will support longer URLs, search engines do not so the headline figure remains "under 2000 chars"'.

Sure, it will be smaller than that. But "http:a.tv" is a valid start, so you've got nearly 2000 more mostly arbitrary characters. Call it 250 octect values ^ 1990 octets ~ 8E+4771 as a lower bound.

The real number is of course much larger than that. The link I gave points other limitations, like Cloudflare's URI limit of 32kB at https://developers.cloudflare.com/support/troubleshooting/ht... .

255 ^ (32*1024) ~ 3E+78857

I think that's a good upper bound.