diff --git a/mmwatch/www/mmwatch.py b/mmwatch/www/mmwatch.py index e2d46ba..21e7118 100644 --- a/mmwatch/www/mmwatch.py +++ b/mmwatch/www/mmwatch.py @@ -15,7 +15,7 @@ def cached(timeout=5 * 60, key='view'): def decorator(f): @wraps(f) def decorated_function(*args, **kwargs): - cache_key = '{}/{}'.format(key, request.path) + cache_key = '{}/{}'.format(key, request.full_path) rv = cache.get(cache_key) if rv is not None: return rv