- 博客(5)
- 资源 (5)
- 收藏
- 关注
原创 cakephp session lose when moving from ssl to non-ssl
<br />When we enable ssl for login/purchase related requests. it usually lose session when moving from ssl to non-ssl which might lead to you lost login status.<br /> <br />Workaround is to disable the session transition in cake core. <br />Below workaroun
2011-01-23 22:29:00 1810
原创 网站性能提高实战经验点滴记录
DB:1.数据库可以适当设计一些冗余字段来减少联合查询2.经常查询的字段要建立索引3.查询内容尽量简洁, 比如cakephp中的查询尽量设置$this->recursive=-14.数据库用单独的服务器,有条件的常用查询数据单独分库HTTP Request:1.调节apache增大服务器并发处理连接数2.压缩js/css减少客户请求连接数3.尽量使用离线数据库,少调用远程http service(geoip service, google map...).至少要设置合理的请求超时时间。4.图片、静态资源用专
2011-01-13 20:04:00 1778 2
转载 [转]理解Linux CPU 负载-什么时候该担心
Understanding Linux CPU Load - when should you be worried?<br /><br />You might be familiar with Linux load averages already. Load averages are the three numbers shown with the uptime and top commands - they look like this: load average: 0.09, 0.05,
2011-01-11 12:28:00 2603
原创 [CakePHP]How to use Session in conjunction with Memcache
<br />Cakephp default session is saved in the configuration /etc/php.ini,<br />this was defined in app/config/core.php:<br /> Configure::write('Session.save', 'php');<br /> <br />most likely it looks as below:<br /> session.save_handler = files<br />
2011-01-09 01:35:00 3089
原创 Linux inode耗尽导致图片/文件无法上传
<br />网站后台上传文件一直没有问题,突然不能上传。且无错误提示。<br />查看磁盘空间使用情况:<br />[root@srv-jigocity-web1 iplocate]# df -m<br />Filesystem 1M-blocks Used Available Use% Mounted on<br /><br />/dev/mapper/datavg-www<br /> 6048 3594
2011-01-08 22:24:00 4984 1
Atomikos Transactions Guide
2013-03-16
Android 三维图形演示代码
2009-10-01
一种新的Windows Mobile软件架构
2009-07-30
windows mobile 程序异常问题定位指南
2009-03-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人