Generates a normalized cache key from a manga title. Normalizes string and limits to 30 characters for consistency.
Manga title to convert to cache key.
Normalized cache key (max 30 characters).
export function generateCacheKey(title: string): string { return normalizeString(title).substring(0, 30);} Copy
export function generateCacheKey(title: string): string { return normalizeString(title).substring(0, 30);}
Generates a normalized cache key from a manga title. Normalizes string and limits to 30 characters for consistency.