How to set proper cache control directives such as 'no-store, no-cache' for all authenticated pages for SharePoint Site

adil 1,431 Reputation points
2020-12-01T14:18:39.697+00:00

HI, We have an internet facing web application in SharePoint and it has one custom page with some custom web parts here we
require to implement the proper cache control directives for the authenticated pages now our security team told 'It is recommended to set proper cache control directives such as 'no-store, no-cache' for all authenticated pages.'

Now this application has implemented cache control for authenticated pages as 'Private'.

Microsoft 365 and Office SharePoint Server For business
Microsoft 365 and Office SharePoint Server Development
{count} votes

Accepted answer
  1. Emily Du-MSFT 51,836 Reputation points Microsoft External Staff
    2020-12-02T09:01:16.527+00:00

    @adil
    You could refer following articles to configure cache settings for a web application in the SharePoint server.

    Configure cache settings for a web application in SharePoint server
    How to modify the Cache-Control HTTP Header when you use IIS
    How can I implement “Cache-Control: no-store”


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.