Keywords: General - AWS - How to - Other
Description:
Hello,
I am using Apache 2.4.46 (unix) on AWS Lightsail for my Angular 10 website. I am not able to achieve deflate/compression.
/opt/bitnami/apache2/conf/httpd.conf has the following entries:
LoadModule filter_module modules/mod_filter.so
LoadModule deflate_module modules/mod_deflate.so
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
Thanks for helping,
Mehmet