Skip to content

Commit

Permalink
Remove unnecessary cache control headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbpvsc committed Dec 10, 2023
1 parent 7d44bf1 commit f66e419
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/marginfi-v2-ui/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ export function middleware(req: NextRequest) {
const basicAuth = req.headers.get("authorization");
const url = req.nextUrl;
const response = NextResponse.next();
// response.headers.set('Vercel-CDN-Cache-Control', 'private, max-age=10');
// response.headers.set('CDN-Cache-Control', 'private, max-age=10');
// response.headers.set('Cache-Control', 'private, max-age=10');

if (process.env.AUTHENTICATION_DISABLED === "true") {
return response;
Expand Down

0 comments on commit f66e419

Please sign in to comment.