Skip to content

Commit

Permalink
fix: reduce cache time
Browse files Browse the repository at this point in the history
  • Loading branch information
apalchys committed Jan 10, 2025
1 parent 143c42e commit 6189a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nestjs/src/courses/courses.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class CoursesService {
Bucket: this.configService.buckets.cdn,
Key: `app/courses.json`,
Body: JSON.stringify(data),
CacheControl: 'max-age=1800',
CacheControl: 'max-age=900',
ContentType: 'application/json',
});
}
Expand Down

0 comments on commit 6189a83

Please sign in to comment.