Posted by bobzimuta on 08/21/06 22:32
Gale wrote:
> I'm looking for PHP code for compressing another PHP code.
> Is there any solutions for free download?
>
> It would be good if it can compress JS and CSS too.
>
> Would there be significant speed improvement by compresing an PHP script?
PHP files are parsed by the PHP engine (e.g. Zend) and executed.
Decreasing the physical size of the file will not make it 'faster'.
If you want to minimize the download size of all the server output,
then use a JS and CSS compressor. You can also use ZLib
(http://us2.php.net/zlib) on the server side to compress the data being
output.
Navigation:
[Reply to this message]
|