@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.