Add Netlify Image CDN and reduce web requests#71
Open
DilsonsPickles wants to merge 5 commits intomainfrom
Open
Add Netlify Image CDN and reduce web requests#71DilsonsPickles wants to merge 5 commits intomainfrom
DilsonsPickles wants to merge 5 commits intomainfrom
Conversation
✅ Deploy Preview for audacityteam ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Set GitHub Actions deploy workflow to manual-only since Netlify is now the primary host. Add netlify.toml with build config and disable redundant post-processing (Astro handles bundling and compression). Add .netlify to .gitignore for local state files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Switch icon font from TTF to WOFF2 for smaller file size and better browser compression support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Delete dead code: NewsletterForm component, .secret-form page, and .form-success page. These are no longer used anywhere in the site. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Install @astrojs/netlify adapter with imageCDN enabled so all raster images are optimized at the edge (AVIF/WebP format negotiation, resizing) instead of at build time. All existing <Image> and getImage() usage works with zero code changes. - Add netlify() adapter with imageCDN: true - Add image.domains for YouTube thumbnails - Remove dead vite.build.assets config - Remove format:"webp" from getImage() calls in Audiodotcom to let Netlify auto-negotiate the best format - Remove unused @fontsource/twinkle-star dependency Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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>
cd35939 to
bb9dcd1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Integrate @astrojs/netlify adapter with imageCDN enabled so all raster images are optimized at the edge (AVIF/WebP format negotiation, resizing) instead of at build time — zero code changes needed across existing
and getImage() usage.
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 + stale-while-revalidate) so repeat visits are served from Netlify's CDN edge cache.
Defer below-fold video components from client:load to client:visible so their JS chunks only load when scrolled into view, reducing initial requests per page — especially for bots that don't scroll.