1.1 --- a/MoinSupport.py Wed Jan 29 12:42:55 2014 +0100
1.2 +++ b/MoinSupport.py Wed Jan 29 18:22:58 2014 +0100
1.3 @@ -838,17 +838,17 @@
1.4
1.5 # Page caching functions.
1.6
1.7 -def getPageCacheKey(page, request):
1.8 +def getPageCacheKey(page, request, with_params=False):
1.9
1.10 """
1.11 Return a cache key for the given 'page' using information in the 'request'.
1.12 """
1.13
1.14 if hasattr(page, "getCacheKey"):
1.15 - return page.getCacheKey(request)
1.16 + return page.getCacheKey(request, with_params)
1.17
1.18 key = getPageFormatterName(page, request)
1.19 - if request.args:
1.20 + if request.args and with_params:
1.21 args = request.args.items()
1.22 args.sort()
1.23 key_args = []