PhantomJS keeping cache

后端 未结 2 1596
伪装坚强ぢ
伪装坚强ぢ 2020-12-31 12:03

I am using phantom js to test accessing a webpage, this runs approximatley 350 times in the space of about half an hour. I am then running webalizer against the server to te

2条回答
  •  情深已故
    2020-12-31 13:02

    Run page.clearMemoryCache(); before page.open can clean cache.

    It metioned in this issue, and it works fine in PhantomJS 2.0.

提交回复
热议问题