We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

GZip Headers offer

because phalcon fast framework, offer the add option to the \Phalcon\Http\Response() - GZip Headers for automatic compression of data that are sent to the client. What will make pages load even faster.



98.9k

Gzip/Deflate compression is more efficient and fairly straightforward to manage when it's set up in the web server layer, If you are using apache you could add the following to your configuration or .htaccess file:

AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/javascript