Description
Add ETag support for read-heavy endpoints (credit line summary, transactions) so clients can avoid full payload downloads when data hasn’t changed.
Requirements and context
- Must be secure, tested, and documented.
- Must ensure ETag changes when underlying state changes.
Suggested execution
git checkout -b feature/etag-caching
Implement changes
- Add ETag generator for responses.
- Add conditional request handling returning 304.
- Integration tests for ETag/304 behavior.
- Document caching semantics.
Test and commit
Example commit message
feat(perf): ETag caching for read-heavy endpoints
Guidelines
Description
Add ETag support for read-heavy endpoints (credit line summary, transactions) so clients can avoid full payload downloads when data hasn’t changed.
Requirements and context
Suggested execution
Implement changes
Test and commit
npm testExample commit message
Guidelines