image optimization using AWS S3 and Cloudflare CDN
Setup SST with aws
Set TURSO_CONNECTION_URL
secret
sst secret set TURSO_CONNECTION_URL <database_url>
Set TURSO_AUTH_TOKEN
secret
sst secret set TURSO_AUTH_TOKEN <auth_token>
- Go to Account Home , Select the domain name where app is deployed
- Select Cache and go to Cache Rules
- Choose Cache Everything template and deploy
sst dev
sst deploy --stage <stage_name>