mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-16 08:26:59 +03:00
Add redis caching for 404s
This commit is contained in:
5
src/middleware/redisKeys.ts
Normal file
5
src/middleware/redisKeys.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Category, VideoID } from "../types/segments.model";
|
||||
|
||||
export function skipSegmentsKey(videoID: VideoID): string {
|
||||
return "segments-" + videoID;
|
||||
}
|
||||
Reference in New Issue
Block a user