Skip to content

Commit cb9c672

Browse files
authored
Merge pull request #2801 from UKHSA-Internal/task/use-reserved-cache-even-for-next-js-caching/CDD-2829
CDD-2829: Use reserved cache for caching v2 system
2 parents 4161caf + 367798f commit cb9c672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caching/private_api/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def _retrieve_response_from_cache_or_calculate(
8484
"""
8585
request: Request = args[1]
8686

87-
if is_caching_v2_enabled():
87+
if is_caching_v2_enabled() and not is_reserved_namespace:
8888
return _calculate_response_from_view(view_function, *args, **kwargs)
8989

9090
cache_management = kwargs.pop(

0 commit comments

Comments
 (0)