You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
Which version of PhantomJS are you using? Tip: run phantomjs --version.
2.1.1
What steps will reproduce the problem?
1.go to test folder by command cd test
2.running command phantomjs --disk-cache=true --load-images=false --disk-cache-path=./ simpletest.js
3.I found data8 folder in test folder.
4.As by searching on Google, the real cache folder could be data1, data2...dataF. How can I determine which folder will be created to store cache files.
Which operating system are you using?
Ubuntu and Mac
Did you use binary PhantomJS or did you compile it from source?
Use binary PhantomJS
However, the cache folder is hard-code by data8. As I know, it could be data1 to dataF. Therefore, it will be great to find the exact cache folder programmatically instead of hard-code the folder name.
The text was updated successfully, but these errors were encountered:
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
Which version of PhantomJS are you using? Tip: run
phantomjs --version
.2.1.1
What steps will reproduce the problem?
1.go to
test
folder by commandcd test
2.running command
phantomjs --disk-cache=true --load-images=false --disk-cache-path=./ simpletest.js
3.I found
data8
folder intest
folder.4.As by searching on Google, the real cache folder could be data1, data2...dataF. How can I determine which folder will be created to store cache files.
Which operating system are you using?
Ubuntu and Mac
Did you use binary PhantomJS or did you compile it from source?
Use binary PhantomJS
Please provide any additional information below.
My project want to save target page content, as well as resource files such as js, css, etc. I get some solution from here:
https://stackoverflow.com/questions/11531448/grab-the-resource-contents-in-casperjs-or-phantomjs (in the second solution with cache.js and mimetype.js)
https://gist.github.com/bshamric/4717583
However, the cache folder is hard-code by
data8
. As I know, it could bedata1
todataF
. Therefore, it will be great to find the exact cache folder programmatically instead of hard-code the folder name.The text was updated successfully, but these errors were encountered: