Cache and Gzip is disabled

I get the following error message

Browser Caching is not working properly:
- Your server may not have the "expires" module enabled (mod_expires for Apache, ngx_http_headers_module for NGINX)
- Another plugin may be interfering with the configuration

and

gzip is not working properly:
- Your server may not have the "deflate" module enabled (mod_deflate for Apache, ngx_http_gzip_module for NGINX)
- Another plugin may be interfering with the configuration

I have spoken to my server company and they suggested adding the following into the htaccess

Header unset ETag
FileETag None
<IfModule mod_headers.c>
Header set Connection keep-alive
</IfModule>
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php|ttf|woff)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/octet-stream "access plus 1 week"
ExpiresByType application/x-font-ttf "access plus 1 week"
ExpiresByType application/x-font-woff "access plus 1 week"
ExpiresByType application/x-font-opentype "access plus 1 week"
</IfModule>
Header set X-Frame-Options DENY