feat(cache): add 30-day browser cache for uploaded images (middleware + S3 CacheControl)

This commit is contained in:
2026-07-18 08:23:13 +08:00
parent 54d778971d
commit 2dc68ff408
3 changed files with 16 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
@echo off
cd /d "%~dp0"
call .venv\Scripts\activate.bat
python -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
@rem python -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
pause