diff --git a/apps/website/public/_headers b/apps/website/public/_headers index 2bb2a6392..05e0574f7 100644 --- a/apps/website/public/_headers +++ b/apps/website/public/_headers @@ -4,10 +4,6 @@ /build/* Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable -# Pagefind search assets - long-term caching -/pagefind/* - Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable - # Documentation pages - cache at edge, allow quick browser updates /docs/* Cache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=604800 diff --git a/apps/website/vite.config.ts b/apps/website/vite.config.ts index 13b42a163..82ba59218 100644 --- a/apps/website/vite.config.ts +++ b/apps/website/vite.config.ts @@ -7,7 +7,6 @@ import autoAPI from './auto-api'; import { ShikiTransformer } from 'shiki'; import tailwindcss from '@tailwindcss/vite'; import { qwikInsights } from '@builder.io/qwik-labs/vite'; -import basicSsl from '@vitejs/plugin-basic-ssl'; export default defineConfig(async () => { const { default: shikiRehype } = await import('@shikijs/rehype'); @@ -38,7 +37,7 @@ export default defineConfig(async () => { }), qwikVite({ lint: false, - debug: true, + debug: false, tsconfigFileNames: ['tsconfig.app.json'], client: { outDir: '../../dist/apps/website/client', @@ -49,10 +48,9 @@ export default defineConfig(async () => { }), tsconfigPaths({ root: '../../' }), // Uncomment for debugging preview with http2 via https - // basicSsl(), tailwindcss(), // qwikInsights({ publicApiKey: '1uelfebvo7l' }), - basicSsl(), + // basicSsl(), ], server: {