Skip to content

Commit 48d341a

Browse files
committed
Increase static file cache duration to 12 months
1 parent 2ef3ffa commit 48d341a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use std::collections::BTreeMap;
2929

3030

3131
/// Duration of static files for staticfile and DatabaseFileHandler (in seconds)
32-
const STATIC_FILE_CACHE_DURATION: u64 = 60 * 60 * 24 * 3; // 3 days
32+
const STATIC_FILE_CACHE_DURATION: u64 = 60 * 60 * 24 * 30 * 12; // 12 months
3333

3434

3535
struct CratesfyiHandler {

0 commit comments

Comments
 (0)