In my website I have the expires headers settings reported below. When I use Google's PageSpeed Insights test I get the message:
XYZ.png expire headers not set, which I'm getting for all the PNG files in the WordPress theme I'm using.
It looks to me like PNG expires headers are already set in the .htaccess file, but I'm still getting this error/warning.
<IfModule mod_mime.c> AddType image/png .png </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/png A31536000 </IfModule>
Does anyone know how I might be able to set the PNG expires headers correctly?