Skip to content

Commit

Permalink
🐛 Fix image caching duration from 12h to 30 days
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed Jul 1, 2024
1 parent 7292fcf commit 570330d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/webtoon/image/image.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class ImageController{

@Get(":sum")
@Header("Content-Type", "image/webp")
@Header("Cache-Control", "public, max-age=43200")
@Header("Cache-Control", "public, max-age=2592000")
@ApiResponse({status: HttpStatusCode.Ok, description: "Get image"})
@ApiResponse({status: HttpStatusCode.NotFound, description: "Not found"})
@ApiResponse({status: HttpStatusCode.BadRequest, description: "Invalid sha256 sum"})
Expand Down

0 comments on commit 570330d

Please sign in to comment.