That’s the only option . Take a look at this topic for more instructions Seamless pagination with "pjax"