Images are cached on many WEB applications, such as background images and website Article thumbnails. In this way, the website data can be accessed more quickly during the next loading. However, in some special cases, we disable the browser from storing images in the cache: it may be based on security considerations, or it may be based on differences.
Images are cached on many WEB applications, such as background images and website Article thumbnails. In this way, the website data can be accessed more quickly during the next loading. However, in some special cases, we disable the browser from storing images in the cache: it may be based on security considerations, or it may be based on differences.
Images are cached on many WEB applications, such as background images and website Article thumbnails. In this way, the website data can be accessed more quickly during the next loading. However, in some special cases, we disable the browser from storing images in the cache: This may be based on security considerations, or on differentiation reasons, of course it may be another reason. This is because the method to disable caching is a little too simple.
The Code is as follows:
? "? /> ??
Actually, the h parameter can be changed. Disabling image caching is actually to make the h value when the image is loaded at this time different from the h value when the image is loaded at the next time. It depends on how you write the parameter that follows the change. Here we use the MD5 encrypted value of the current Unix Timestamp and the number of microseconds !!
Statement: This article uses BY-NC-SA protocol for authorization | IT passers-
Reprinted please note