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.`stale-while-revalidate`(Option(3600)) // 1 hour
            )
          ) 

GitHub link: 
https://github.com/apache/pekko-http/discussions/668#discussioncomment-12652159

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to