Ajax and Pjax

by user

Auto Draft

I’m going to talk about pushState. I’ve lernt the technology by using pjax. As you might know ajax and pjax, this technology allows browser to override new contents on the previous ones without reloading.


Assume that there were two pages, the header and footer of which were exactly same decoration.



Ajax technology can fetch new contents which wants user override on current contents. This technology is extremely effective in case of switching contents by clicking a tab.



Pjax adopt a pushState technology in the internal code. With the pushState technology, as of HTML5, historyAPI enables to behave as browser’s backing function. Therefore pjax can put new contents into the current page like ajax technology can do and Changing the path without reloading coincides with it.

You may also like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

Close Bitnami banner