I. Preface
Cookies must be known to all, but not all are proficient. This article describes all aspects of Cookies.
Ii. Basic Knowledge
1. What is Cookies?
Cookie is a short text message that is transmitted between the Web server and the browser as
First, the preface
Cookies must be known to everyone, but not everyone is proficient. This article explains the various aspects of cookies.
Second, basic knowledge
1. What is a cookie
A Cookie is a small piece of textual information that
0x00 IntroductionIn the history of Web technology, the advent of cookie technology is a major change. However, Cookie technology is a very controversial technology, from the date it was born into a vast network of users and web developers of a
Take a good look at cookies (strongly recommended) and learn about cookies
Cookie Creation
Because HTTP is stateless, services on the server must be stateful. The initial purpose of Cookie creation is to store the status information on the web for
The birth of a cookie
Because the HTTP protocol is stateless, the server-side business must be stateful. The original purpose of cookies was to store state information in the Web to facilitate server-side use. For example, to determine whether the
original articles, reproduced please specify: reproduced from the electric Shang Sharong ec-shalom.com, specialized in electric business.The concept of caching has not been clear, resulting in the use of PHP write cache is also very not
The similarities and differences between the cookie and session:A. Cookie mechanismCookies are small pieces of text that the server stores on the local machine and are sent to the same server with each request. The IETF RFC 2965 HTTP State
ArticleDirectory
Use HTML meta tags
Use cache-related HTTP message headers
Cache-control and expires
Last-modified/etag and cache-control/expires
Last-modified and etag
User operation behavior and Cache
=== Index ====
Web Cache basics: Terms, HTTP headers and cache policies, web HeadersIntroduction
For visitors to your site, intelligent content caching is one of the most effective ways to improve user experience. Caching, or temporary storage of previous requests,
Web Cache basics: Terms, HTTP headers, and cache policiesIntroduction
For visitors to your site, intelligent content caching is one of the most effective ways to improve user experience. Caching, or temporary storage of previous requests, is one of
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.