Hommer Smith
Hommer Smith

Reputation: 27852

PhantomJS caching. Where it is stored?

I am using PhantomJS to parse some sites. Given a URL, I parse it and then I start other instances to parse related URLs (same host/domain). I see that the time of loading the page is quite big, so I was digging into the --disk-cache option.

My question is:

Where is that cache stored? I am launching my PhantomJS instances from a Rails app in Heroku, and I would like to know where is that cache stored (which directory).

Upvotes: 5

Views: 5079

Answers (3)

spydon
spydon

Reputation: 11512

The linux path is now usually ~/.local/share/Ofi\ Labs/PhantomJS/

Upvotes: 1

Tony Novak
Tony Novak

Reputation: 11

On Mac OS X, the default path is ~/Library/Caches/Ofi Labs/PhantomJS.

Upvotes: 1

Yogesh Unavane
Yogesh Unavane

Reputation: 265

Check on below path : Linux : ~/.qws/cache/Ofi Labs/PhantomJS

Windows : AppData\Local\Ofi Labs\PhantomJS\cache

Files with extension '.d' have the cached items.

Upvotes: 8

Related Questions