[object Object]

← back to Stars of Design

sod /favicon.ico Cache-Control max-age=86400 (was 0). Mirrors asim.

47f553012946f800c18abb3040dd8613553f066d · 2026-05-13 05:58:48 -0700 · Steve Abrams

Files touched

Diff

commit 47f553012946f800c18abb3040dd8613553f066d
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed May 13 05:58:48 2026 -0700

    sod /favicon.ico Cache-Control max-age=86400 (was 0). Mirrors asim.
---
 routes/public.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/routes/public.js b/routes/public.js
index b1850ba..86bf487 100644
--- a/routes/public.js
+++ b/routes/public.js
@@ -29,6 +29,7 @@ router.use((req, res, next) => {
 // /favicon.ico fallback for bots/legacy clients that don't honor
 // <link rel="icon" href="/favicon.svg">. Serves the same SVG file.
 router.get('/favicon.ico', (req, res) => {
+  res.setHeader('Cache-Control', 'public, max-age=86400');
   res.sendFile(require('path').join(__dirname, '..', 'public', 'favicon.svg'));
 });
 

← bb0e392 sod smoke +gzip /firms check  ·  back to Stars of Design  ·  sod robots.txt — Disallow /api/ (mirrors asim, prevents wast 5b0cc55 →