yiisoft / jquery-pjax

pushState + ajax = pjax
http://pjax.herokuapp.com
MIT License
144 stars 40 forks source link

fix cache option not persisting after back #21

Closed nkovacs closed 9 years ago

nkovacs commented 9 years ago

If you click around on a pjaxed page, then go back, the cache option is reset to true for that page view (i.e. if you then go forward or back, pjax will not reload the page from the server, it will use the cache).

nkovacs commented 9 years ago

Added an alternative fix for #16 that doesn't force you to use $.pjax.defaults.

SilverFire commented 9 years ago

Merged! https://github.com/yiisoft/jquery-pjax/commit/1cbc33d09371de07e35270bd1553768895aa0a0d

SilverFire commented 9 years ago

Thank you!