-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to find the cache folder used by phantomjs? #17
Comments
Your ...
"runtimeArgs": ["--load-images=false", "--disk-cache=true", "--disk-cache-path=./"],
... Since you're passing |
Thank you for reply. The option My current project needs to save js and css files along with html content, so I need to read them from cache folder and save them by this way: In my current project, I am writing the code to read cache file from Best Regards |
Unfortunately this issues tracker is only meant for PhantomJS debugger plugin for VSCode. Your question is related to PhantomJS itself. I suggest that you look for an answer elsewhere like: Anyway what you could probably do is something like this:
|
Oh, I am sorry. That's my fault. But thank you for your patient to answer my questions. The solution is real a way to solve my question, though it could load the resource twice. You are awesome! |
Hello admin,
Here I have a question about the phantomjs cache folder. I know there is an option to set the disk cache path, which I can set the cache folder like this:
phantomjs --disk-cache=true --load-images=false --disk-cache-path=./ simpletest.js
With above command, I will get a
data8
on my working path. After several hours searching on Google, I only find that phantomjs will create cache folder under the disk-cache-path folder, the cache folder name could be one of data1 to dataF (16 options).So my problem is how can I what the exact folder will hold the cache file.
Best Regards
James
The text was updated successfully, but these errors were encountered: