JResponse::compress
Compress the data
Checks the accept encoding of the browser and compresses the data before sending it to the client.
Signature
protected function compress(string
$data )
Parameters
-
$data
- Content to compress for output.
Returns
- string
- compressed data