An idea for getting rid of the hashbang problem
michaelcgorman.net
An idea for getting rid of the hashbang problem
1–8 of 8 posts
Re: An idea for getting rid of the hashbang problem
#2Re: An idea for getting rid of the hashbang problem
#3I've been playing around with this idea for a while, and given this week's context, I figured I might as well throw it out there. My main questions for HN are: (a) is this a good idea, (b) do you see any big pitfalls I'm overlooking, and (c) how might we get this to happen?
Re: An idea for getting rid of the hashbang problem
#4I've been playing around with this idea for a while, and given this week's context, I figured I might as well throw it out there. My main questions for HN are: (a) is this a good idea, (b) do you see any big pitfalls I'm overlooking, and (c) how might we get this to happen?
Can you compare this against the HTML5 pushState API?
Re: An idea for getting rid of the hashbang problem
#5I half remember that this is possible over http for updating a resource (e.g., you looked at example.com/a-page an hour ago and now you want to look at it again; your browser can just download the bits that have changed). But I don't remember the details. Maybe it's part of WebDAV?
Then you only need to hint to the browser that a certain link might be diffable against the current page (or another page that the browser might have cached). That means only one new attribute, one new http header, and no new url structure required.
Adding new mandatory structure to urls icks me out for some reason. It doesn't feel very web-like.
Edit: I think that something like your idea would be helpful, but I don't think your idea would be the best way of doing it.
Re: An idea for getting rid of the hashbang problem
#6Basically you want to be able to return a diff. I half remember that this is possible over http for updating a resource (e.g., you looked at example.com/a-page an hour ago and now you want to look at it again; your browser can just download the bits that have changed). But I don't remember the details. Maybe it's part of WebDAV? Then you only need to hint to the browser that a certain link might be diffable against t…
Edit: I think I remember seeing something diff-like when working on a custom CalDAV feed a couple of years ago. Though that may have been CalDAV-specific, like a date-range.
Re: An idea for getting rid of the hashbang problem
#7Basically you want to be able to return a diff. I half remember that this is possible over http for updating a resource (e.g., you looked at example.com/a-page an hour ago and now you want to look at it again; your browser can just download the bits that have changed). But I don't remember the details. Maybe it's part of WebDAV? Then you only need to hint to the browser that a certain link might be diffable against t…
Re: An idea for getting rid of the hashbang problem
#8Basically you want to be able to return a diff. I half remember that this is possible over http for updating a resource (e.g., you looked at example.com/a-page an hour ago and now you want to look at it again; your browser can just download the bits that have changed). But I don't remember the details. Maybe it's part of WebDAV? Then you only need to hint to the browser that a certain link might be diffable against t…
SDCH can save bandwidth, but I think the hashbangs are trying to avoid any page load at all. http://en.wikipedia.org/wiki/Shared_Dictionary_Compression_O...