Skip to content

Comment on PushState + ajax = pjax

Comments

It shocks me that people still do Ajax without this technique (though not necessarily this library obviously).

GitHub is the only mainstream site I've seen handle Ajax "properly".

You mean doing Ajax without changing the hash and all that the related crufts?

I guess that's because most browsers used by people out there today do not have support for direct url path changing without causing a reload. It's only been possible since the introduction of the HTML5 History API, which solved that very problem. Unfortunately, it's only supported by the newer browsers.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.