首先,我按照W3总缓存指令安装了以下代码:2)PECL内存缓存模块4)做了一个Apache restart。现在我可以在phpinfo中看到两者。5)我删除了memcache sudo apt-get remove php5-memcache,因为我想使用Memcached
6)卸载后,我注意到Class 'Memcache' not fou
我将在同一个Xubuntu服务器上设置Varnish 3.0.4和Apache2.22,其中Varnish接受端口80上的连接,Apache在端口81上监听。其目的是将.html文件缓存在Varnish中,但目前,所有请求都被传递到服务器。return (hash); # Below will cache the page for one week.(1s = 1 sec, 1d-d1 -c800 -t