Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: size of page

by ajt (Prior)
on Oct 11, 2002 at 12:49 UTC ( #204485=note: print w/replies, xml ) Need Help??

in reply to size of page

Our very own meryln, wrote a column all about calculating the size and hence download time for a given web page. You can read all about it here, however be aware that it is not complete, as it does not add the weight of a style sheet, nor can it take into account the weight of a image loaded via a style sheet, or ECMA Script call.

I tweaked the code to included linked style sheets, but it still ignores "@import"ed style sheets, and any image loaded via a style sheet or ECMA, as CSS and ECMA isn't parsed by any of the HTML parsers...

Update: NONE of the tools that parse HTML alone will give correct total-page sizes as they all miss scripting (ECMA, JavaScript etc. etc.) and CSS linked assets.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://204485]
[choroba]: Related to the new release, anyone could explain this or this tester report?
[Discipulus]: hello crew! marto thanks for the message: but I how can I help? i'm testing cpan Padre atm problem with Client::Debug
[choroba]: I don't happen to have 5.10.0 nor 5.8.5 handy...
[Corion]: Hmm - I would say the 5.8.5 is a broken installation / corrupt tarball download, and the 5.10.0 is really weird, and maybe a bug in that version of Perl
[Corion]: I don't see how my $result = eval q{'abc' =~ ?b?}; could create a "Modification of read-only value" error
[marto]: Discipulus the issue that should be adressed is that the page needs to be updated to reflect modern perl on Windows
[Discipulus]: but is really necessary to support these ancient versions? from 5.14 onward is not enough?

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2018-06-25 08:44 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.