• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Prevent IIS from caching pages

lindsey

New Pleskian
Server operating system version
Windows
Plesk version and microupdate number
18.0.46 Update #1
I have a site with a page (mysite.com/Stories) that should be returning random content, but it always returns the same content. To make matters worse, I redeployed the site and this page is returning the old content that should no longer exist after the code update. I know that it isn't a browser cache problem because 1) I cleared the browser cache 2) I loaded the page in several different browsers and in incognito/private mode. I tried refreshing the app pool, stopping the app pool/starting the app pool, updating the "Expires" IIS common setting to 1 second among a few other things. When I add a parameter to the URL (mysite.com/Stories?v=1) I get the expected content but on subsequent reloads of the page the content is not randomized.
My top priority is to get the page (mysite.com/Stories) to at least update once so that the old content is replaced with the new content. Second priority is to have that page actually return random content.
I would prefer a solution that can be done via Plesk UI, but would be fine with a code or web.config solution (I'm using c#).
 
Back
Top