天行健,君子以自强不息;
地势坤,君子以厚德载物;
memcache还是redis
作者:曲文庆 日期:2012-10-31 16:49
转载:
经常在项目里会遇见作为缓存是选择memcache还是redis,虽然redis在近几年比较火,但也不能完全就认为redis可以取代memcache,他两也有各自的优点。下面来看看两者之间的不同。
下面内容来自Redis作者在stackoverflow上的一个回答,对应的问题是《Is memcached a dinosaur in comparison to Redis?》
You should not care too much about performances. Redis is faster per core with small values, but memcache
修改chrome缓存位置
作者:曲文庆 日期:2012-10-31 14:55
修改Firefox的缓存位置
作者:曲文庆 日期:2012-10-30 13:07
创建了内存虚拟磁盘,将各种cache、临时文件放到内存虚拟磁盘上,提升应用速度
IE配置里面有修改界面,可以调整IE 临时文件的存放目录,Firefox界面里则没有相应配置。查看资料,可以直接修改Firefox的高级配置,实现此目的。
一、修改缓存文件位置
1)、打开Firefox浏览器
2)、在地址栏输入 about:config
3)、查找 browser.cache.disk.parent_directory
4)、如果没有找到 browser.cache.disk.parent_directory ,则新建这个“字符串”
Office 2013 命令行模式激活
作者:曲文庆 日期:2012-10-29 17:56
Varnish 中两个重要的子程序
作者:曲文庆 日期:2012-10-26 17:06
目前varnish已经到了3.0.3,今天因处理问题,看了一些2.x的资料,感觉还是有一定同性和收获
https://www.varnish-cache.org/trac/wiki/Introduction
HHow VCL works
There are actually 8 subroutines that control how Varnish behaves, and that you can change in your Varnish config. They are:
vcl_recv()
Called after a request is received from the browse