Cache-control :private,no-cache,must-revalidate,max-age
Expires Specify page expiration time
Response . setContentType ("Charset=utf-8");
Response . SetHeader ("Pragma","No-cache");
Response . SetHeader ("Cache-control","No-cache");
Response . Setdateheader ("Expires", 0);
Web content design is now more and more abundant. This means that there are many other scripts, stylesheets, pictures, and flash that are included in the page.
Users who visit your page for the first time will mean making multiple http requests. However, this content can be cached by using the expires file header. It avoids the unnecessary http request in the next page access question. The
expires file header is used frequently in image files, but should be used in all of the content. Includes scripts, style sheets, and flash wait.
copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.
Specified as file header expires or Cache-control