---
title: "Comment by Gijo Varghese on \"After 4 years with nginx, we switched to Caddy - Here is why\" | Hashnode"
description: "Awesome article! So caddy server acts a a cache layer that caches html pages, right? How do you clear caddy server cache if a particular page is updated?"
url: "https://hashnode.com/posts/after-4-years-with-nginx-we-switched-to-caddy-here-is-why/5d12263af490ff005379ebff/comment/5d1a0900d1bf28a0475bac11"
---

[Discussion](https://hashnode.com/posts/after-4-years-with-nginx-we-switched-to-caddy-here-is-why/5d12263af490ff005379ebff)

Comment [After 4 years with nginx, we switched to Caddy - Here is why](https://hashnode.com/posts/after-4-years-with-nginx-we-switched-to-caddy-here-is-why/5d12263af490ff005379ebff)

[Gijo Varghese](https://hashnode.com/@gijovarghese)

[Jul 1, 2019](https://hashnode.com/posts/after-4-years-with-nginx-we-switched-to-caddy-here-is-why/5d12263af490ff005379ebff/comment/5d1a0900d1bf28a0475bac11)

Awesome article!

So caddy server acts a a cache layer that caches html pages, right? How do you clear caddy server cache if a particular page is updated?

[Sandeep Panda](https://hashnode.com/@sandeep)

[Jul 10, 2019](https://hashnode.com/posts/after-4-years-with-nginx-we-switched-to-caddy-here-is-why/5d12263af490ff005379ebff/comment/5d1a0900d1bf28a0475bac11#reply-5d25c8c2696097e87c7a8c42)

Sorry about the delay. I took a short break and didn't have a chance to go through the comments.

When any post is updated, we send a message to each of the edge nodes via rabbitmq and simply delete the `.html` file from the disk. That takes care of the cache purging.

[Gijo Varghese](https://hashnode.com/@gijovarghese)

[Jul 10, 2019](https://hashnode.com/posts/after-4-years-with-nginx-we-switched-to-caddy-here-is-why/5d12263af490ff005379ebff/comment/5d1a0900d1bf28a0475bac11#reply-5d25d6a15d5a5a0231f50dc1)

[Sandeep Panda](https://hashnode.com/@sandeep) so it clear entire HTML files? Edit in your blog post shouldn't clear cache from other user's right?
