Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PJAX & Turbolinks

Avatar for juanpablo juanpablo
January 31, 2013

PJAX & Turbolinks

Sobre mi experiencia usando PJAX/Turbolinks para acelerar fácilmente* sitios.

* (las experiencia podrían variar, consulte con su experto local)

Avatar for juanpablo

juanpablo

January 31, 2013
Tweet

Other Decks in Programming

Transcript

  1. Realmente no todos los enlaces: No queremos: - absolutos (externos)

    - anchors a[href]:not( a[href^="http:"], a[href^="#"],
  2. Realmente no todos los enlaces: No queremos: - absolutos (externos)

    - anchors - lightboxes a[href]:not( a[href^="http:"], a[href^="#"], a.lightbox,
  3. Realmente no todos los enlaces: No queremos: - absolutos (externos)

    - anchors - lightboxes - links a minisitios - etc. a[href]:not( a[href^="http:"], a[href^="#"], a.lightbox, a[data-reload] )
  4. Realmente no todos los enlaces: No queremos: - absolutos (externos)

    - anchors - lightboxes - links a minisitios - etc. a[href]:not( a[href^="http:"], a[href^="#"], a.lightbox, a[data-reload] )
  5. NO

  6. page:fetch starting to fetch the target page (only called if

    loading fresh, not from cache). page:load fetched page is being retrieved fresh from the server. page:restore fetched page is being retrieved from the 10-slot client-side cache. page:change page has changed to the newly fetched version.