View Single Post
Old 01-30-2013, 01:40 PM   PM User | #1
needsomehelp
Regular Coder

 
Join Date: Oct 2009
Posts: 309
Thanks: 4
Thanked 3 Times in 3 Posts
needsomehelp can only hope to improve
question about ob_get_length()

I have been redoing my site offline as it was taking way to long to load with the images. When I echoed ob_get_length() at the end of the page it says the page size was '63315' I took it this is the total size of the page, So I reduced the images in size to half and still it shows a very large size '61867'

My question is, is ob_get_length() showing the total buffer including the images ? or just the HTML code ?

EDITED....
Also when I view the site in Firefox it shows say '61867' but in IE it is not showing the same figure, even thought the page content is exactly the same. Does IE INCREASE the size or something as the figure is LARGER. But not by much, but still LARGER.
....


I have tried to read up on this on PHP.net but it does not seem to show very much about this function/command. Googling only answered me that the figure was in bytes. Not sure where to find out more about this one.

Can anyone shed some more light about this for me please.
needsomehelp is offline   Reply With Quote