# Varnish config for discourse

**URL:** <https://meta.discourse.org/t/varnish-config-for-discourse/68575>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [Août 23, 2017, 1:27 UTC](https://meta.discourse.org/t/varnish-config-for-discourse/68575 "2017-08-23T01:27:50Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Quintin\_Par](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/quintin_par/32/120500_2.png) [@Quintin\_Par](https://meta.discourse.org/u/Quintin_Par)\
**Post date:** [Août 23, 2017, 6:47 UTC](https://meta.discourse.org/t/varnish-config-for-discourse/68575/7 "2017-08-23T18:47:24Z")

</div>

Please correct me if I am wrong, but don’t you need to do invalidation when some one replies, update categories pages when new content is added etc. My understanding is that one needs to run the invalidation logic from the code to caching system. Therefore I thought Discourse should be having a varnish config file that’s probably deployed on Fastly.

---

_[View the full topic](https://meta.discourse.org/t/varnish-config-for-discourse/68575)._
