In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about the method of solving the 304 status code of the website, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Recently, our website has been revised, and at first the snapshot is updated every day, but after setting the cache, the snapshot is not updated, and it is seen in the log that a lot of 304 is returned. Qingzhou Dingcheng Technology on how the site appears 304 status code article has been mentioned in the previous article: why the site 304 status code? So I checked a lot of information and first wrote the solution as follows:
When this happens, I'm sure that IIS caching caused by IIS caching can improve server performance on the one hand and bring serious update problems to the website on the other, so how should I clean it manually? Next, I'll teach you a way to manually clean up the IIS cache!
First of all, if you take a look at the HTTP protocol, you will find that such a command Cache-Control:no-cach can be defined in the HTTP header returned from the server. This is the solution to the problem. Let me see how to add this command to the HTTP return of each server through the IIS configuration management tool.
Step 1: open the IIS configuration Management tool (Internet Information Services (IIS Manager)
Select a website (if you want to configure all sites, please select the "site" icon in the point) click the Properties button, and a configuration window will pop up.
Step 2: select the "HTTP header" TA B tag, and you will see the custom HTTP header column. OK is here. Finally.
Step 3: add next to the point (D. Button to add that command.
Pop-up window: custom HTTP header name (C input: Cache-Control custom HTTP header value (U input: no-cach)
After reading the above content, do you have any further understanding of the method of solving the 304 status code of the website? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.