In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
How to solve the website 304 status code, in view of this problem, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
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. Why does the site have a 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)
This is the answer to the question about how to solve the 304 status code of the website. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
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.