Skip to content
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

Retrieve onResourceReceived list of urls #2

Closed
thomasmodeneis opened this issue May 13, 2015 · 3 comments
Closed

Retrieve onResourceReceived list of urls #2

thomasmodeneis opened this issue May 13, 2015 · 3 comments

Comments

@thomasmodeneis
Copy link

Hi,

I need to get a list of all decoded_url that are created on phearjs/lib/worker.js --> onResourceReceived

page_inst.onResourceReceived = function(response) {
      var decoded_url;
      decoded_url = decodeURIComponent(response.url);
      if (decoded_url === final_url && response.stage === "end") {
        return headers[decoded_url] = response.headers;
      }
    };

Is there a way to get this list and store it together with the html on memcached already in place ?

Thanks

thomasmodeneis added a commit to thomasmodeneis/phearjs that referenced this issue May 13, 2015
@Tomtomgo
Copy link
Owner

Hi Thomas,

The list of URLs that have been seen aren't currently stored.

I see you already did something on this in your fork. If you'd like to implement your code in the Coffeescript source and build it, I could accept a pull request.

Cheers,

Tom

@Tomtomgo
Copy link
Owner

@thomasmodeneis did you make any progress on this?

@Tomtomgo
Copy link
Owner

Tomtomgo commented Mar 4, 2016

@andersju implemented this in #5.

@Tomtomgo Tomtomgo closed this as completed Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants