fix: trace-thumbnail cache-control changed to no-cache for testing
- Changed from 'public, max-age=86400' to 'no-cache' - Allows immediate verification of rebuilt key_face.jpg files - Can be changed back to max-age=300 after verification
This commit is contained in:
@@ -932,7 +932,7 @@ async fn trace_thumbnail(
|
||||
Ok(Response::builder()
|
||||
.status(StatusCode::OK)
|
||||
.header(header::CONTENT_TYPE, "image/jpeg")
|
||||
.header(header::CACHE_CONTROL, "public, max-age=86400")
|
||||
.header(header::CACHE_CONTROL, "no-cache")
|
||||
.body(Body::from(bytes))
|
||||
.unwrap())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user