Back to the Learning

Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

Faster Page Loads With Pjax

Run Time 13:20

Pjax is an excellent and mature plugin that leverages both Ajax and HTML5 pushstate to speed up the loading times of your pages. It accomplishes this by fetching select HTML fragments from your server, and updating the appropriate section of your HTML. Let me show you how easy it is to integrate into any Laravel application.

View the middleware for this lesson on GitHub.

Publish Date: October 11, 2015