Add expires headers
# Add Proper MIME-Type for Favicon
AddType image/x-icon .ico
# Expires headers
ExpiresActive on
# Set default to 3 days
ExpiresDefault A259200
# Set static content to 2 weeks
<FilesMatch "\.(gif|jpe?g|png|css|js|ico)$">
ExpiresDefault "access plus 2 weeks"
</FilesMatch>
Turn off Etags
# Turn of Etags
Header unset ETag
FileETag None
Enable Gzip
# Enable Gzip
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</IfModule>
I’ve been using W3 Total Cache, does it still require the above code on my website htaccess?