A
A
Alexander2015-02-27 13:08:23
Apache HTTP Server
Alexander, 2015-02-27 13:08:23

How to force apache to specify Expires for images?

How to force apache to specify Expires for images?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2015-02-27
Madzhugin @Suntechnic

<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault A7200
  ExpiresByType text/html A1
  ExpiresByType image/jpeg "access plus 4 week"
  ExpiresByType image/gif "access plus 4 week"
  ExpiresByType image/png "access plus 4 week"
</IfModule>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question