refactor: remove HTTP Cache-Control headers and revalidate settings from API routes to streamline caching strategy and avoid conflicts with server-side caching

This commit is contained in:
Julien Froidefond
2025-12-07 11:36:50 +01:00
parent c4ae6a1b2f
commit c76d960dca
5 changed files with 6 additions and 27 deletions

View File

@@ -4,7 +4,6 @@ import { ERROR_CODES } from "@/constants/errorCodes";
import { AppError } from "@/utils/errors";
import { getErrorMessage } from "@/utils/errors";
import logger from "@/lib/logger";
export const revalidate = 60;
export async function GET() {
try {