Basic Cache Technology favorites
1. IntroductionA large number of website pages are dynamically created based on different requests submitted by users. As we know, dynamic pages help provide customized dynamic content according to user requirements.
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
"Reference to other people's articles" We do technology, often in the writing of the page need to refresh the test many times, but the browser has its owncaching mechanism, general CSS and pictures will be cached locally, so that our modified CSS
Disable IE and Firefox cache using php. I found a lot of methods in the network speed, and finally solved the problem. The simplest method is to add the meta tag METAHTTP-EQUIVCache-ControlCONTENTno-cache, no-store, must-revalidateME found many
Using php to disable the cache of IE and Firefox, I found a lot of methods in the network speed, and finally solved the problem. if you need to know about it, you can refer to the methods in the network speed, finally Solved
In fact, the simplest
In the Internet to find a lot of ways, and eventually solved the
In fact, the simplest way is to add
Label
You can also use program control
Copy CodeThe code is as follows:
Header
Browsers have their own caching mechanism, the general CSS and pictures will be cached locally, so that our modified CSS will not see the effect, each time to clear the cache, and then refresh to see the effect, so that the operation is too
Cache-Control
Cache-Control is the most important rule. This field is used to specify the commands that all cache mechanisms must obey throughout the request/response chain. These commands are used to prevent the cache from adversely interfering
When cache is used, it is actually changed from response-> execution-> explicit delivery to response-> explicit delivery. The "execution" in the middle is saved and the efficiency is improved. There are generally four types of cache technology.I.
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:
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.