Commit 12d13ab
committed
Fix duplicate cache logging and add server cache API tests
- Remove redundant cache status logging in request() method that was
duplicating the more informative log from attachCacheStatus()
- Add comprehensive tests for server cache API logic including:
- shouldUseCache() behavior with instance and method-level settings
- attachCacheStatus() behavior for attaching cache status to results
- Cache bypass header injection for act/extract/observe requests
- Cache status logging for cacheable methods1 parent b5ce917 commit 12d13ab
2 files changed
+469
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | | - | |
892 | | - | |
893 | 880 | | |
894 | 881 | | |
895 | 882 | | |
0 commit comments