Hacker GitHub

← All repos

defunkt/jquery-pjax

View on GitHub ↗ ★ 16,627 JavaScript

pushState + ajax = pjax

39 mentions on Hacker News by 35 people: 4 stories, 35 comments · first 2011-03-31 · latest 2026-03-07

Mentions per year 39 mentions · busiest year 2012 (7)
20082026
  1. I’d like to see a comparison with pjax as well: https://github.com/defunkt/jquery-pjax
  2. …proponents of a technique they called PJAX which is actually pretty similar to how HTMX works: https://github.com/defunkt/jquery-pjax My hunch is that over time it became harder and harder for them to hire new frontend developers who…
    comment by simonw · 2025-08-05 · in Why is GitHub UI getting slower?
  3. …over XHR instead of an iframe and uses pushState by default to keep the back button working. [1]: https://github.com/defunkt/jquery-pjax
  4. Order as I remember it: Github initially used pjax, https://github.com/defunkt/jquery-pjax , (maybe "invented" by defunkt?) which I believe was the precursor to turbolinks, https://github.com/turbolinks/turbolinks , which was the precursor…
    comment by theIV · 2023-04-07 · in Building GitHub with Ruby on Rails
  5. > AFAIK that's not actually theirs but: https://github.com/defunkt/jquery-pjax Check out https://api.github.com/users/defunkt : > "id": 2 pjax was written by a GitHub founder for use in github.com.
    comment by semiquaver · 2022-05-22 · in The balance has shifted away from SPAs
  6. Ah, AFAIK that's not actually theirs but: https://github.com/defunkt/jquery-pjax (although I guess they rewrote it in TS, unless that's a different project floating around?), from which Turbolinks took its inspiration as a Rails-native…
    comment by msbarnett · 2022-05-21 · in The balance has shifted away from SPAs
  7. …- - [keymaster](https://github.com/madrobby/keymaster) - - [jquery-pjax](https://github.com/defunkt/jquery-pjax) - - [github-dark](https://github.com/StylishThemes/GitHub-Dark) -- [0]: https://github.com/ovity/octotree/commit/c8010
  8. …link, there is now way to replace just a portion of the page. pjax would be a better OG similarity: https://github.com/defunkt/jquery-pjax
    comment by thrownaway954 · 2020-08-24 · in A tale of webpage speed, or throwing away React
  9. https://github.com/defunkt/jquery-pjax and https://github.com/turbolinks/turbolinks
    comment by mkurz · 2020-05-28 · in Htmx – high power tools for HTML
  10. …decade old at this point, dirt simple, and easily handles re-binding event handlers. Check it out: https://github.com/defunkt/jquery-pjax Turbolinks is a more contemporary library that does much the same. It doesn't need to be complicated.
  11. How does this compare to PJAX : https://github.com/defunkt/jquery-pjax ?
  12. …Github, Gerrit etc and I have to say, once you started using Github, there is no going back [1] https://github.com/defunkt/jquery-pjax When a Github user clicks on a link, it is converted to an XHR request and then only the part of the…
    comment by simula67 · 2018-06-05 · in Mailing lists vs Github
  13. …scratch. Heh, I'd have been better off not buying in so early on. As a stop-gap, I'm using pjax. ( https://github.com/defunkt/jquery-pjax ) My plan is after stuff is solid and in production and the product/service/business is moving…
    comment by git-pull · 2017-12-24 · in Vue.js vs. React: what happened in 2017
  14. Just to be pedantic: pjax is nearly 7 years old. https://github.com/defunkt/jquery-pjax/commit/3efcc3c968c18c...
  15. …JavaScript on top of server rendered views. Ajax works great with server side rendering, see Pjax https://github.com/defunkt/jquery-pjax or Intercooler http://intercoolerjs.org/ The server is rendering JSON anyway, more or less just as…
    comment by bigmanwalter · 2017-08-22 · in Vue.js and Brunch: Webpack Alternative
  16. It's no longer cool on HN to use it, but jQuery-Pjax ( https://github.com/defunkt/jquery-pjax ) solved this problem years ago in a minimally intrusive way. I build all my projects with it. It's the only SPA framework that allows for full…
  17. …or supported that format or converted or whatever (not c2 but the federated wiki stuff). [1]: https://github.com/defunkt/jquery-pjax
    comment by agentgt · 2016-10-29 · in WikiWikiWeb is back online
  18. …concept is new to me. I've skimmed over it. So, everyone is saying turbolink is just like pjax: https://github.com/defunkt/jquery-pjax There is also something interesting I've seen before in Java & Scala. It will run your code and render…
    comment by kevindeasis · 2016-01-02 · in Instant Web Application
  19. Sounds like a fresh approach to PJAX ( https://github.com/defunkt/jquery-pjax )
    comment by pwenzel · 2015-12-04 · in Structured Page Fragments by YouTube
  20. fixed link: https://github.com/defunkt/jquery-pjax
  21. …The better way, preferred: https://github.com/browserstate/history.js or https://github.com/defunkt/jquery-pjax... . not sure which is better to be honest. Feel free to chime in.
  22. Does this mean Googlebot can crawl pjax pages? https://github.com/defunkt/jquery-pjax
    comment by dallen33 · 2014-05-23 · in Understanding web pages better
  23. …that may mean you also need to generate static pages for bot consumption (pjax can be useful here https://github.com/defunkt/jquery-pjax ).
    comment by espeed · 2014-05-23 · in A Comparison of Go Web Frameworks
  24. …app that updates the browser URL bar using pushState. Both approaches also degrade nicely. [1] https://github.com/defunkt/jquery-pjax
    comment by toddmorey · 2014-03-08 · in InstantClick 3.0 Released
  25. …sites crawlable is also possible with libraries like https://github.com/minddust/jquery-pjaxr and https://github.com/defunkt/jquery-pjax . Plus the push state has the advantage of "real" urls.
    comment by commanderj · 2013-10-07 · in Javascript apps can be fully crawlable
  26. …in Ratchet http://maker.github.io/ratchet/#push ). This in turn is inspired by jquery-pjax ( https://github.com/defunkt/jquery-pjax ) Explained in short - there should be some way to fetch the HTML for a "new page" replacing the older page…
  27. Anyone interested in something like this should also check out PJAX. Push State and AJAX. https://github.com/defunkt/jquery-pjax This is what GitHub uses between tabs on its Pull Requests page. I love how simple the implementation is. Your…
    comment by seanconaty · 2013-04-19 · in We've Open-sourced Rendr
  28. "For browsers that don't support pushState pjax fully degrades." Source: https://github.com/defunkt/jquery-pjax Wouldn't that suggest that any search-engines wouldn't have an issue indexing your site if you implement things correctly?
    comment by uptown · 2013-01-04 · in Rant: Backbone, Angular, Meteor, Derby
  29. Nice concept, but I would definitely consider using something like PJAX ( https://github.com/defunkt/jquery-pjax ) in place of the javascript loading already in place. Also, text is really tiny on my iPhone.
  30. It's part of [pjax]( https://github.com/defunkt/jquery-pjax ). pjax works by returning all content stuffed in a single node, which then updates the current page with those contents. It fire's Google Analytics updates, etc. It can also…
    comment by dpcx · 2012-09-26 · in Turbolinks for Rails (like pjax)
  31. …AJAX and updates the browser history using `pushState`. This is an alternative to the PJAX library: https://github.com/defunkt/jquery-pjax Use either if you have an irrational aversion to page reloads. Snark aside - jQuery Mobile uses a…
  32. …site. Best solution is to have both (JSON and static) representations or use something like pjax https://github.com/defunkt/jquery-pjax .
    comment by chadhietala · 2012-05-30 · in It's About The Hashbangs
  33. There's a jQuery plugin for this: https://github.com/defunkt/jquery-pjax Backbone.js has support for pushState as well.
  34. …and if you're not using Rails there's a version dependent on jQuery https://github.com/defunkt/jquery-pjax .
  35. …want to? 2) pjax uses pushState to preserve links and back button behavior. Here is the pjax code: https://github.com/defunkt/jquery-pjax And here is a gist in Flask/Python which shows conditionally including the layout:…