• Resolved vikiv

    (@vikiv)


    First I have to say this plugin is awesome!

    Looking at htaccess rules this one is missing
    ExpiresByType image/jpg “access plus 1 month”

    I wonder why.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Fred

    (@fredawd)

    Thank you for your kind words.

    image/jpg is not the same as image/jpeg, only image/jpeg is recognised as the actual mime type for JPEG files.

    See https://tools.ietf.org/html/rfc3745

    Thread Starter vikiv

    (@vikiv)

    Thanks for the clarification.
    I have no idea about mime type, it is independent from the file extension?

    In other words: I’m using “.jpg” extension, ExpiresByType will work only with image/jpeg mime type?

    Plugin Contributor Fred

    (@fredawd)

    .jpg extension can be declared with Content-type : image/jpeg
    There isn’t any image/jpg attribute for content-type.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ExpiresByType image/jpg missing’ is closed to new replies.