Skip to content

Commit

Permalink
Make sure Apache2 is configured so .ico can be cached
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclay committed Sep 5, 2013
1 parent 584f405 commit 0f6c966
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions htaccess_dist
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ DirectoryIndex index.php
############################
# BROWSER CACHING

# Make sure .ico has proper MIME type, allowing mod_expires to handle them.
<IfModule mod_mime.c>
AddType image/vnd.microsoft.icon .ico
</IfModule>

# The expires module controls the Expires and Cache-Control headers. Elgg sets
# these for dynamically generated files so this is just for static files.
<IfModule mod_expires.c>
Expand Down

0 comments on commit 0f6c966

Please sign in to comment.