{"action":"created","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/10357","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/10357/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/10357/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/10357/events","html_url":"https://github.com/ariya/phantomjs/issues/10357","id":12086261,"number":10357,"title":"Is there any memory cache? if any, may it be controlled?","user":{"login":"ariya","id":7288,"avatar_url":"https://avatars.githubusercontent.com/u/7288?v=3","gravatar_id":"","url":"https://api.github.com/users/ariya","html_url":"https://github.com/ariya","followers_url":"https://api.github.com/users/ariya/followers","following_url":"https://api.github.com/users/ariya/following{/other_user}","gists_url":"https://api.github.com/users/ariya/gists{/gist_id}","starred_url":"https://api.github.com/users/ariya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariya/subscriptions","organizations_url":"https://api.github.com/users/ariya/orgs","repos_url":"https://api.github.com/users/ariya/repos","events_url":"https://api.github.com/users/ariya/events{/privacy}","received_events_url":"https://api.github.com/users/ariya/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ariya/phantomjs/labels/old.Priority-Medium","name":"old.Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/ariya/phantomjs/labels/old.Status-New","name":"old.Status-New","color":"ededed"},{"url":"https://api.github.com/repos/ariya/phantomjs/labels/old.Type-Defect","name":"old.Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2012-01-17T19:28:21Z","updated_at":"2015-06-24T23:52:56Z","closed_at":"2014-09-25T15:27:14Z","body":"_**[powerp...@gmail.com](http://code.google.com/u/114210706911569858174/) commented:**_\r\n> <b>Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.</b>\nphantomjs 1.4.1\r\n> \r\n> <b>What steps will reproduce the problem?</b>\n1. I want to fetch same url multiple times sequentially. For example , based on examples/netsniff.js, in page.open(&quot;http://www.baidu.com&quot;, function(status) { \r\n> // require a new page\r\n> // ++count; exit when count exceeds\r\n> // page open the same url\r\n> \r\n> 2. each open will create a har file, the 1st one has full interaction info as expected. But subsequence's har file only has quite small size. In them, only &quot;GET /&quot; is recorded.\r\n> \r\n> 3. watched by fiddler or wireshark, the packets for subsequent page.open() only point to 1st page of the host, no subsequent detail action.\r\n> \r\n> <b>What is the expected output? What do you see instead?</b>\nShould have same or near size of all har files. \r\n> But 2nd, 3rd.. are more smaller than 1st har.\r\n> \r\n> \r\n> <b>Which operating system are you using?</b>\nWindows 7 x64\r\n> \r\n> <b>Did you use binary PhantomJS or did you compile it from source?</b>\nbinary\r\n> \r\n> <b>Please provide any additional information below.</b>\nIt seems there's some cache working. \r\n> I have written another js serves as a server, to get input file preodically, and fetches up to 8 urls at one time. If reinput some old urls to it after, for example, 32 urls job, I could get correct har.\r\n\r\n**Disclaimer:**\r\nThis issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, [Issue #357](http://code.google.com/p/phantomjs/issues/detail?id=357).\r\n:star2: &nbsp; **7** people had starred this issue at the time of migration."},"comment":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/comments/115047940","html_url":"https://github.com/ariya/phantomjs/issues/10357#issuecomment-115047940","issue_url":"https://api.github.com/repos/ariya/phantomjs/issues/10357","id":115047940,"user":{"login":"jperry","id":410748,"avatar_url":"https://avatars.githubusercontent.com/u/410748?v=3","gravatar_id":"","url":"https://api.github.com/users/jperry","html_url":"https://github.com/jperry","followers_url":"https://api.github.com/users/jperry/followers","following_url":"https://api.github.com/users/jperry/following{/other_user}","gists_url":"https://api.github.com/users/jperry/gists{/gist_id}","starred_url":"https://api.github.com/users/jperry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jperry/subscriptions","organizations_url":"https://api.github.com/users/jperry/orgs","repos_url":"https://api.github.com/users/jperry/repos","events_url":"https://api.github.com/users/jperry/events{/privacy}","received_events_url":"https://api.github.com/users/jperry/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T23:52:56Z","updated_at":"2015-06-24T23:52:56Z","body":"I get the 304s as well."}}