Add redis caching for 404s

This commit is contained in:
Ajay Ramachandran
2021-02-20 21:13:46 -05:00
parent 597dff7ac3
commit 01d318d902
6 changed files with 73 additions and 13 deletions

View File

@@ -0,0 +1,5 @@
import { Category, VideoID } from "../types/segments.model";
export function skipSegmentsKey(videoID: VideoID): string {
return "segments-" + videoID;
}