/** Default TTL (seconds) for public read endpoints */ export const PUBLIC_CACHE_TTL = 300; export const CacheKeyPrefixes = { FOODS_BY_RESTAURANT: 'public:foods:restaurant', CATEGORIES_BY_RESTAURANT: 'public:categories:restaurant', RESTAURANT_SPEC: 'public:restaurants', } as const; export const CacheKeys = { foodsByRestaurant: (slug: string) => `${CacheKeyPrefixes.FOODS_BY_RESTAURANT}:${slug}`, categoriesByRestaurant: (slug: string) => `${CacheKeyPrefixes.CATEGORIES_BY_RESTAURANT}:${slug}`, restaurantSpec: (slug: string) => `${CacheKeyPrefixes.RESTAURANT_SPEC}:${slug}`, activeRestaurantsList: () => CacheKeyPrefixes.RESTAURANT_SPEC, } as const;