Do not go cache 304

The solution website 304 status code

I'm sure this situation is caused by the IIS IIS cache can improve server performance caching on the one hand, on the other hand bring severe gave updates on the website issue, how should I do it manually to clean up? Next teach a way to manually clean the IIS cache


I'm sure this situation is caused by the IIS IIS cache can improve server performance caching on the one hand, on the other hand bring severe gave updates on the website issue, how should I do it manually to clean up? Next teach a manual cleanup IIS cache method! 

First, look at the HTTP protocol, you will find that the server returned from the HTTP header to define a command like Cache-Control: no-cach of this method is to solve the problem, let me see how the IIS configuration management tools to the this command added to each server's HTTP return ahead of it. 

Step one: Open the IIS configuration management tools (Internet Information Services (IIS Manager) 

Select a site (if you want to configure all site, select a point in the "Web site" that icon) point "Properties" button will pop up a configuration window 

Step Two: Select "HTTP header" TA B tab and you'll see the custom HTTP Header "such a column .OK is here finally to 

Step 3: Add beside the point (D ... button to add on that command. 

Pop-up window: Custom (C, enter the name of the HTTP header: Cache-Control custom HTTP header value (U Enter: NO-CACH)
----------------
Copyright : this article is the original article CSDN bloggers "Mu Peng", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement
original link: https: //blog.csdn.net/for12/article / details / 49097705

Published 293 original articles · won praise 27 · views 120 000 +

Guess you like

Origin blog.csdn.net/gwdgwd123/article/details/102840970