Cache avatars on client only for 1 day.
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
#define MAX_AVATAR_CACHE_AGE 2592000 // 1 Month
|
#define MAX_AVATAR_CACHE_AGE 2592000 // 1 Month
|
||||||
#else
|
#else
|
||||||
#define MAX_NUMBER_OF_FILES 256
|
#define MAX_NUMBER_OF_FILES 256
|
||||||
#define MAX_AVATAR_CACHE_AGE 2592000
|
#define MAX_AVATAR_CACHE_AGE 86400
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PNG_HEADER "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a"
|
#define PNG_HEADER "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a"
|
||||||
|
|||||||
Reference in New Issue
Block a user