phantomjs是否定期自动清除其缓存? [英] Does phantomjs regularly clear its cache automatically?
本文介绍了phantomjs是否定期自动清除其缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果有此功能,我需要为Phantomjs更改自动清除缓存的默认时间.有什么主意吗?
I need to change the default time of automatic cache clear for Phantomjs if there is such a feature. Any idea?
推荐答案
应该是您要寻找的功能:
Should be the feature that you are looking for:
https://github.com/ariya/phantomjs/issues/10357
page.clearMemoryCache()
这篇关于phantomjs是否定期自动清除其缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文