mirror of
https://github.com/audacity/audacity.github.io.git
synced 2026-04-13 15:35:01 -05:00
reduce-web-requests
Add robots.txt to block aggressive AI scrapers (GPTBot, Bytespider, SemrushBot, etc.) and set crawl delays for legitimate search engines. Add Cache-Control headers for HTML pages (1h TTL with stale-while-revalidate) so repeat visits are served from Netlify's CDN edge cache instead of origin. Defer below-fold video components from client:load to client:visible so their JS chunks only load when scrolled into view — bots and users who don't scroll never trigger those requests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
About this repo
This is the source of https://www.audacityteam.org. It uses Astro.
This repo works with npm or Bun.
- Install dependencies:
npm installorbun install - Run dev server:
npm run devorbun run dev - Build:
npm run buildorbun run build
Translation
Translations are not yet supported. Please join our dev discord to get notified when they are.
Security
This is a static website, with no user input. As such, regular vulnerabilities likely won't affect us. That said, it probably is good to run npx @astrojs/upgrade (or bunx @astrojs/upgrade) every now and then to update astro to fix security vulnerabilities.
Description
Languages
Astro
53.2%
TypeScript
25%
JavaScript
20%
CSS
1.8%