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

htaccess - Add an expires header to static resources

0 votes
added Jul 19, 2018 in Server issues by LC Marshal Captain (26,090 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. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.