【发布时间】:2015-02-07 00:53:00
【问题描述】:
我正在从这个 github repo 运行这个 JS
https://github.com/steeve/angular-seo
我的 phantomjs 实例在端口 9090 上运行,我的应用程序在端口 51707 上运行,当我在 phantomjs 实例上发出请求时,一切都很好,内容显示在 ng-view 中。但是,当我再次发出相同的请求时,ng-view 下现在没有内容。这是缓存问题吗?如果是这样,我该如何解决。
我运行的启动 phantomJS 实例的命令:
>phantomjs --disk-cache=no angular-seo-server.js 9090 http://localhost:51707/
【问题讨论】: