hashbang
This article is a stub. You can help the IndieWeb wiki by expanding it.
A shebang (or hashbang) is the antipattern of using the character sequence #!
in URLs to make dynamic, javascript-driven content searchable by giving it a pseudo-URL. This is problematic because it relies on javascript to retrieve the content and can easily break.
Criticism
- 2011-02-09 : Gawker Learns the Hard Way Why ‘Hash-Bang’ URLs are Evil (archived)
- 2011-05-08 : It's About The Hashbangs (archived)
…it most definitely _is_ about the hashbangs. This technique, on its own, is destructive to the web. The implementation is inappropriate, even as a temporary measure or as a downgrade experience.
"what happens on a slow network when users click an AJAX #!-link before the JS loads? nothing. slow net is like JS-off."
See Also
- 2012-05-29 Twitter dropped use of hashbang #! URLs: Improving performance on twitter.com
… permalink URLs are now simpler: they no longer use the hashbang (#!).
- Twitter broke their own hashbang links, e.g. https://twitter.com/#!/search/realtime/%23microformats used to give # microformats hashtag results but now just redirects to their "explore" page.
- to-do: expand dfn to be IndieWeb-relevant (e.g. better development practices), perhaps add to antipatterns, incorporate "See Also" items into main article content