Cache is Caddy 2?

How can I do full page cache in caddy 2?

1 Like

HI @Prashant_Verma,

Caddy v2 doesn’t have caching features yet. Caching in v1 was implemented by a third party developer as you noted in the other thread.

Consider pairing Caddy v2 with dedicated cache software.


Edit: I wasn’t quite correct in the above - there is a yet-incomplete caching handler in the code, which must be configured in JSON as there is no v2 Caddyfile directive for it. It’s worth nothing the warning in the documentation, however:

NOTE: This module is a work-in-progress. It is not finished and is NOT ready for production use. We need your help to finish it! Please volunteer in this issue. Until it is finished, this module is subject to breaking changes.
JSON Config Structure - Caddy Documentation

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.