Media and CSS on S3
Keep images and assets loading when local WordPress is asleep.
Placeholder embed
Replace videoId and poster when the recording is published.
Production script: docs/tivlo-ssg-video-scripts/08-media-on-s3.md.
HTML on a static host is only half the brochure. Pictures still need a public address. Your laptop is not that address.
What this video covers
- Why localhost cannot be a CloudFront origin
- Rewrite media and CSS/JS to the CDN domain
- S3 sync for the media library and for CSS/JS used by exported pages
- Test Connection, Sync Existing Media, then Full Rebuild
- URLs rewrite only after a file has reached the bucket
Key takeaways
HTML can live on any static host. Images, stylesheets, and scripts must be reachable without your laptop. That is CDN Scenario 2 in the plugin — not an extra product. Tivlo would rather leave a local URL than rewrite to a CDN file that never arrived.
Related reading
How is this guide?