如果使用恰当,缓存可以极大地提升性能,譬如,将经常使用的数据缓存,按需要的时间设置过期。相信我,在老的asp技术中,将对象存入Session中有时会出现问题。
Caching can be great for increasing performance if used in the right way, i.e. you cache the data that will be accessed the most and you don't cache it for longer than you need.
为了激活一个高速缓存或者使之失效,就要找到其自身的高速缓存入口并设置激活的数值为false。
To enable or disable a cache, locate its cache entry and set the enabled value to false.
光线和温度传感器的输出可以设置成邮件提醒,甚至存入数据库,Morey说,但通过Twitter更有趣。
The output from the light and temperature sensors could have well gone into a E-mail alert or even a database, says Morey, but tweeting is a lot more fun.
应用推荐