WordPress.org

Support

Support » Plugins and Hacks » mod_expires section in .htaccess doesn't include all image extensions, like jpg

mod_expires section in .htaccess doesn't include all image extensions, like jpg

  • I notice that the reference to jpeg images created by w3tc in the <IfModule mod_expires.c> section in .htaccess does not include one for images ending in .jpg. there is for .jpeg:
    ExpiresByType image/jpeg A31536000

    According to some things I’ve read, they should both be included. All our jpeg images use the jpg extension. Does the above statement automatically include those? Or should another line be added? (eg: ExpiresByType image/jpg A31536000)

    Thank you.

    http://wordpress.org/plugins/w3-total-cache/

  • The topic ‘mod_expires section in .htaccess doesn't include all image extensions, like jpg’ is closed to new replies.