Results 1 to 4 of 4

Thread: WGet onLoad functionality

  1. #1
    Join Date
    Oct 2012
    Beans
    2

    Question WGet onLoad functionality

    Hi @ll,

    first of all: I am an absolute Linux n0000b. Therefore please be patient with me

    I am trying to retrieve the loading time of a website. As far as I understood, this is easily been done using WGET:
    Code:
    time wget URL
    I also read on the internet, that onLoad events are not considered here. So here are my questions:

    1. Is it absolutely correct, that onLoad is not considered?
    2. Is there a possibility to activate the loading of onLoad functions?

    I'd like to compare the different loading times of the website (without onLoad and with onLoad), therefore my questions.


    I would really appreciate if you could help me out here.




    Cheers,
    n0000b

  2. #2
    Join Date
    Oct 2012
    Beans
    2

    Re: WGet onLoad functionality

    *bump*

  3. #3
    Join Date
    Jul 2010
    Beans
    29
    Distro
    Kubuntu Development Release

    Re: WGet onLoad functionality

    Assuming onLoad is something in JavaScript, the onLoad functions will not be executed when using wget.

    wget only downloads the HTML file - it doesn't run any javascript or render the file like in a browser. your shell code will simply measure the time to download the HTML.

  4. #4
    Join Date
    Jul 2010
    Beans
    29
    Distro
    Kubuntu Development Release

    Re: WGet onLoad functionality

    BTW, meaning info: noob is negative and offensive and newbie is friendly

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •