MDL-32628 lib/filelib.php: Set user profile image expires to 1 year
authorDan Poltawski <dan@moodle.com>
Fri, 4 May 2012 01:36:11 +0000 (09:36 +0800)
committerDan Poltawski <dan@moodle.com>
Fri, 4 May 2012 01:36:11 +0000 (09:36 +0800)
commit4d6206ce6768eaec3f5e80f6fa572fd803059af3
tree93c7de842154321a9027bc8699f5f98d7af58432
parent0dda790c05bcab5b57a624ac3f6b9c0229d1e47a
MDL-32628 lib/filelib.php: Set user profile image expires to 1 year

This is to reduce the performance impact of user profile images
requests. Pictures are now referenced by a revision counter so
any changes in picture will not be badly cached any longer.
lib/filelib.php