diff --git a/app/api/placas/route.js b/app/api/placas/route.js index 39cf59b..96a34cc 100644 --- a/app/api/placas/route.js +++ b/app/api/placas/route.js @@ -2,8 +2,8 @@ import { google } from 'googleapis'; import { NextResponse } from 'next/server'; -// Configurar cache de 1 hora (sempre exportar um número, 0 = sem cache) -export const revalidate = 3600; +// Configurar cache (sempre exportar um número, 0 = sem cache) +export const revalidate = 60 * 10; // 10 minutos // Habilitar/desabilitar cache const ENABLE_CACHE = revalidate > 0;