• Generates a normalized cache key from a manga title. Normalizes string and limits to 30 characters for consistency.

    Parameters

    • title: string

      Manga title to convert to cache key.

    Returns string

    Normalized cache key (max 30 characters).

    export function generateCacheKey(title: string): string {
    return normalizeString(title).substring(0, 30);
    }