Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
692 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi!
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?
Br
Pat
Hi @PatricSten,
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.