Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

htaccess - Add an expires header to static resources

0 votes
5 views
added Jul 19 in Server issues by LC Marshal Lieutenant (12,590 points)
# The below numbers are set for a month (in seconds), you can change them as you wish.

ExpiresActive On

ExpiresByType image/gif A2592000

ExpiresByType image/png A2592000

ExpiresByType image/jpg A2592000

ExpiresByType image/jpeg A2592000

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...