Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
feat: extend cache lifetime on assets
Brad Barbina1c23e948dba
diff --git a/apps/carbon/app/routes/file+/preview+/$bucket.$.tsx b/apps/carbon/app/routes/file+/preview+/$bucket.$.tsxindex e8fa9ea001..4f85b8b067 100644--- a/apps/carbon/app/routes/file+/preview+/$bucket.$.tsx+++ b/apps/carbon/app/routes/file+/preview+/$bucket.$.tsx@@ -43,7 +43,7 @@ export let loader = async ({ request, params }: LoaderFunctionArgs) => {const headers = new Headers({"Content-Type": contentType,- "Cache-Control": "public, max-age=3600", // Cache for 1 hour+ "Cache-Control": "public, max-age=31536000", // Cache for a year});return new Response(result.data, { status: 200, headers });};