Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You don't have to worry as, I would suppose, redirects are resolved automatically by the browser or any sane HTTP client library.


This still results in increased latency at worst as you may now have two round trips for every GET.


I think you could solve this using SPDY, which lets to send an expected follow-on request in the same stream of bytes before it has been requested - originally designed for things like CSS but it should apply equally well here (especially given the UUID URL caching semantics)


Whether or not that's more efficient boils down to how much the server can predict the client's behavior though, right?

I'm just thinking that if the server was configured to respond with the /value/ reference and then immediately follow that up with the resource, your client doesn't really have much say in how noisy the conversation is over the wire.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: