Retro Bulletin Board Systems on atproto. Web app and TUI. lazy mirror of alyraffauf/atbbs atbbs.xyz
forums python tui atproto bbs
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

add cache breaking

+22
+10
web/nginx.conf
··· 8 8 try_files $uri $uri/ /index.html; 9 9 } 10 10 11 + # index.html must always be revalidated so browsers pick up new bundles. 12 + location = /index.html { 13 + add_header Cache-Control "no-cache"; 14 + } 15 + 16 + # Hashed assets from Vite never change — cache them aggressively. 17 + location /assets/ { 18 + add_header Cache-Control "public, max-age=31536000, immutable"; 19 + } 20 + 11 21 # Runtime config generated by the entrypoint — don't cache. 12 22 location = /config.json { 13 23 add_header Cache-Control "no-cache";
+12
web/public/_headers
··· 5 5 Permissions-Policy: geolocation=(), microphone=(), camera=(), interest-cohort=() 6 6 Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https:; frame-ancestors 'none'; base-uri 'self'; form-action 'self' 7 7 8 + # index.html must always be revalidated so browsers pick up new bundles. 9 + /index.html 10 + Cache-Control: no-cache 11 + 12 + # Hashed assets from Vite never change — cache them aggressively. 13 + /assets/* 14 + Cache-Control: public, max-age=31536000, immutable 15 + 16 + # Runtime config — don't cache. 17 + /config.json 18 + Cache-Control: no-cache 19 + 8 20 # OAuth client metadata is fetched cross-origin by atproto auth servers. 9 21 /client-metadata.json 10 22 Access-Control-Allow-Origin: *