Support » Plugin: Far Future Expiry Header » A file whose suffix plugin does not include.

  • Resolved michalrama

    (@michalrama)


    Hello,

    Good plugin, but there’s one problem.

    What to do when a file expires with a suffix that the plugin doesn’t include, please?

    I don’t know exactly how the plugin works, but it would be better to be able to define the suffix itself.

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, can you provide more information about the suffix you want to include?

    Thank you

    Hello,

    Oh. I did not say that. This is currently reported for two files.

    svg and woff2

    But, in this way you would constantly add new suffixes and it would be confusing.
    As I said. It would be better to define the suffix itself. If it would be possible.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, please read the following documentation. Let me know if this helps you.

    Kind regards.

    Hello,

    I changed it to this

    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/css "access 1 month"
    ExpiresByType text/html "access 1 month"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType application/javascript "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresDefault "access 1 month"
    </IfModule>

    and it works flawlessly.

    Thank you

    Plugin Support mbrsolution

    (@mbrsolution)

    I am happy to know that you found a solution 🙂

    Enjoy the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘A file whose suffix plugin does not include.’ is closed to new replies.