Re: [D] CacheDirectives with stale-while-revalidate [pekko-http]

2025-03-28 Thread via GitHub
GitHub user pjfanning added a comment to the discussion: CacheDirectives with stale-while-revalidate What seems to be supported - https://github.com/apache/pekko-http/blob/d1bedc7168c75c3727dc1a1573a5b3b7d2ce7dfe/http-core/src/main/scala/org/apache/pekko/http/scaladsl/model/headers/CacheDirect

Re: [D] CacheDirectives with stale-while-revalidate [pekko-http]

2025-03-28 Thread via GitHub
GitHub user spadarthi added a comment to the discussion: CacheDirectives with stale-while-revalidate I mean do we have any support for that? i like to use respondWithHeader( `Cache-Control`( CacheDirectives.`max-age`(86400), // 1 day CacheDirectives.`st

Re: [D] CacheDirectives with stale-while-revalidate [pekko-http]

2025-03-28 Thread via GitHub
GitHub user pjfanning added a comment to the discussion: CacheDirectives with stale-while-revalidate We don't seem to support it. Do you want to try creating a PR? GitHub link: https://github.com/apache/pekko-http/discussions/668#discussioncomment-12652180 This is an automatically sent

Re: [D] CacheDirectives with stale-while-revalidate [pekko-http]

2025-03-28 Thread via GitHub
GitHub user pjfanning added a comment to the discussion: CacheDirectives with stale-while-revalidate I can't find any evidence in code that pekko-http adds `stale-while-revalidate`. Can you provide some evidence? GitHub link: https://github.com/apache/pekko-http/discussions/668#discussioncom