For applications cached by Relaxlife. Net, the call speed is faster than reading data from the database every time.
Source: Internet
Author: User
For applications cached by Relaxlife. Net, the call speed is faster than reading data from the database every time.
The cache application calls faster than reading data from the database every time)
<%
Rem ============================================== ======================================
Rem = class: CacheCls
Rem = description: cached applications
Rem = Revision: 1.01 Beta
Rem = author: Xiong's hero (cexo255)
Rem = Date: 18:38:10
Rem = QQ: 30133499.
Rem = MySite: Http: // www.Relaxlife.net
Rem = download: http://www.relaxlife.net/2005/relaxlife/blogview.asp? LogID = 178
Rem = QQ group: 4341998
Rem = applicable: for some frequently used and infrequently changed data to be put into the cache, the call speed is faster than reading data from the database every time.
Rem ============================================== ======================================
CacheName = "RL"
Class CacheCls
Private LocalCacheName, Cache_Data
Public Property Let Name (ByVal vNewValue)
LocalCacheName = LCase (vNewValue)
Cache_Data = Application (CacheName & "_" & LocalCacheName)
End Property
Public Property Let Value (ByVal vNewValue)
Dim N, I, NewValueArr
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.