Type |
New Feature
|
Priority |
Normal
|
Assignee | |
Version |
none
|
Sprints |
n/a
|
Customer |
n/a
|
Issue Votes (0)
Type |
New Feature
|
Priority |
Normal
|
Assignee | |
Version |
none
|
Sprints |
n/a
|
Customer |
n/a
|
Implement Caching with Spring Caching (Caffeine + Redis)
Goal:
Introduce caching to improve performance and reduce database load. Use Caffeine for local development and Redis for distributed environments.
Estimated Time: 4–6 hours
Task Breakdown
1. Add Spring Caching Support
spring-boot-starter-cache
topom.xml
@EnableCaching
in the config class2. Configure Local Caffeine Cache
Caffeine
dependencyapplication.yml
3. Configure Redis for Distributed Caching
spring-boot-starter-data-redis
)application-prod.yml
or env4. Apply Caching to Key Methods
@Cacheable
,@CacheEvict
getUserById
,getProjectById
,searchIssues
5. Validate Caching Behavior
🕒 Estimated Time: 4–6 hours
Subtask Estimates
Output Artifacts
@Cacheable