# 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:** 9

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [Août 23, 2017, 7:22 UTC](https://meta.discourse.org/t/varnish-config-for-discourse/68575/9 "2017-08-23T19:22:06Z")

</div>

> [@Quintin\_Par](#):
>
> 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

Discourse can only use a CDN for static assets, not for content.

---

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