in reply to size of page

The new HTTP::Size module seems to do exactly what you want.