diff options
author | Evan Prodromou <evan@status.net> | 2010-12-06 17:05:32 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-12-06 17:20:26 -0500 |
commit | 004d58fdb83e6cb2586af1d9ae30657ce473a2dc (patch) | |
tree | 5b1322fd44dd513cf47beacd3ab03503e894bf51 /extlib/MIME | |
parent | b4fc54c308936477706acb5cc3c4acae4c3f3a4d (diff) |
Make code-dependent cache entries more volatile
If a cache entry is dependent on the code that's running, upgrading
(or enabling/disabling plugins) can generate hard-to-track
inconsistencies.
This change adds a close-to-unique fingerprint of the running code to
some cache keys, so that if the fingerprint changes, the old values
are ignored and new values are used.
If the automated uniqueness fails, an administrator can add an extra
config value, $config['site']['build'], that's thrown into the key also.
Diffstat (limited to 'extlib/MIME')
0 files changed, 0 insertions, 0 deletions