PHP GZIP more information -
i use plugin of google firefox "speed test" , have error:
enable compression
compressing following resources gzip reduce transfer size 65.8kib (65% reduction).
now.. know nothing subject , want learn more subject.
this related/connected ob ( ob_start ) or somthing that?
i'll gateful more information , tutorials subject.
if there vidoe guides better.
this full notice i've got google speed test:
compressing following resources gzip reduce transfer size 65.8kib (65% reduction).
compressing http://localhost/english/jquery.js save 57.3kib (65% reduction). compressing http://localhost/english/javascript/slider.js save 4.0kib (69% reduction). compressing http://localhost/english/style/style.css save 3.7kib (72% reduction). compressing http://localhost/english/javascript/home.js save 853b (62% reduction).
take @ ob_gzhandler
. have straight-forward example too:
<?php ob_start("ob_gzhandler"); ?> <html> <body> <p>this should compressed page.</p> </html> <body>
if browser supports gzip, page compressed gzip , sent compressed, after browser decompress , render it. advantage of doing lowering amount of bytes need transferred.
Comments
Post a Comment