# HG changeset patch # User Ludovic Chabant # Date 1498018481 25200 # Node ID c0cbcd4752f0f3f43357f4379ef2644ff40f804c # Parent dcdec4b951a12fadb21e45eab5873d941859a6be internal: Include the number of fixup callback in the cache key. diff -r dcdec4b951a1 -r c0cbcd4752f0 piecrust/appconfig.py --- a/piecrust/appconfig.py Tue Jun 20 21:13:08 2017 -0700 +++ b/piecrust/appconfig.py Tue Jun 20 21:14:41 2017 -0700 @@ -102,6 +102,8 @@ APP_VERSION, CACHE_VERSION)).encode('utf8')) for p in paths: cache_key_hash.update(("&path=%s" % p).encode('utf8')) + cache_key_hash.update( + ("&fixups=%d" % len(self._post_fixups)).encode('utf8')) cache_key = cache_key_hash.hexdigest() # Check the cache for a valid version.