1.1.1 Summary
Our system has recently faced severe performance bottlenecks due to increased traffic and requests from clients at the same time, which forces us to address this problem from two aspects, increase hardware and improve system
This is reproduced, not original, I this month is one, so the above selected original type. Sorry.
Http://blog.sina.com.cn/s/blog_466c66400100bi2y.html
Yang Jian: Website Acceleration--cache for Wang (2008-12-08-20:14:58)
Category:
1. How does cache work.
Cache is a public memory disk allocated to the server.
The so-called public cache allows any client browser to access it through the background code when it is created. It targets all users, and session is also a piece of
In my impression, we talk about State management, more about application, session, and so on, and seldom talk about cache. Of course, cache is not within the scope of State management. But recently I used a cache in my work and found that the cache
Extremetable export Excel, pop up a download window, then click to cancel the download, then report the following exception:
Clientabortexception caused by:java.net.SocketException:Connection reset by Peer:socket write error
Check out the Tomcat
1. Browser cache Each time a Web site is opened, the content of the page is cached to the user's machine. If the content needs to be reloaded in other pages, the browser loads the cache instead of downloading the content again. If some Web store
It mainly involves three attributes in the header.
Lastmodified: Sets the last modification time. The browser sends a "If-modified-Sinc" header next time. If the content is not updated after this time, the server directly returns a 304 not modified
1.meta methodAdd the HTML headerDescription: Prevents the browser from accessing page content from the local computer's cache. The above settings, visitors will not be able to browse offline.Description: Cache-control Specifies the caching mechanism
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.