# User settings page not updated after adding or removing a theme component: cache issue with CDN?

**URL:** <https://meta.discourse.org/t/user-settings-page-not-updated-after-adding-or-removing-a-theme-component-cache-issue-with-cdn/165227>\
**Category:** Self-hosting\
**Tags:** cdn\
**Created:** [September 24, 2020, 1:53pm UTC](https://meta.discourse.org/t/user-settings-page-not-updated-after-adding-or-removing-a-theme-component-cache-issue-with-cdn/165227 "2020-09-24T13:53:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [September 24, 2020, 1:53pm UTC](https://meta.discourse.org/t/user-settings-page-not-updated-after-adding-or-removing-a-theme-component-cache-issue-with-cdn/165227/1 "2020-09-24T13:53:21Z")

</div>

Hi,

If I add or remove theme components to the current default theme, user preferences don’t update accordingly (one of my components adds a user preference input).

In order to have the input added (or removed), I have to clear my CDN cache.  
Having a “wrong” cached user preference pages also leads to 403 users if the user wants to change some settings.

This problem doesn’t affect my admin account, but a regular user account I created for tests purpose.

Any idea how I can fix this?

Here are my CDN settings:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/8/080d7e6fdebd258fd81b9d87df5aa958c7da34cf.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/1/11726ed634aebff500b15a3669c87e1bc94924bf.png)

My Discourse is a [standard install](https://meta.discourse.org/t/142537?silent=true).

---

_[View the full topic](https://meta.discourse.org/t/user-settings-page-not-updated-after-adding-or-removing-a-theme-component-cache-issue-with-cdn/165227)._
