阅读背景:

按下后退按钮时不要重新加载页面 - AngularJS

来源:互联网 

I'm developing an AJAX-heavy application with AngularJS and need requests to not be re-made when the user clicks the back button on their browser. For example a set of data takes 2-3 seconds to load and then if the user navigates to another page and then clicks back the data has to be reloaded. Is there a way to prevent this - or alternatively a different way to design my app such that data persists through a session?I'm developing an AJAX-heavy application with A




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: