feat: Add compression and caching to movie routes

Adds gzip compression middleware and an in-memory cache for movie data to improve performance. Also adds database indexes for common query patterns.

Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
Cursor Agent
2025-12-21 21:24:27 +00:00
co-authored by mathieumoran1
parent 1e7ab962d6
commit 3884ce6492
7 changed files with 165 additions and 30 deletions
+1
View File
@@ -13,6 +13,7 @@
"axios": "^1.7.9",
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.3",
"compression": "^1.8.1",
"cors": "^2.8.5",
"dotenv": "^16.4.7",
"express": "^4.22.1",