When enabling cache in frontdoor, it caches my wordpress sites backend/wp-admin.
How and where am i suppose to put cache-control: private ?
Do i put it in web.config?
Correct, you can add your cache control as a rewrite action in your web.config of your wordpress site.
<rule name='AdjustCache'> <match serverVariable='RESPONSE_CACHE_CONTROL' pattern='.*' /> <action type='Rewrite' value='no-cache, no-store, must-revalidate' /> </rule>
Let me know if this helps.
15 people are following this question.