[api] support specific cacht ttl (CACHE_TTL_PAGE_TIMEOUT) for pages with timeout