终于把Apache2从我的VPS上停掉了
Gentoo, Web, Wordpress February 21st, 2010
折腾了一个上午,终于把我的 VPS 上的 Apache 跑着的相关服务,都切换到 Nginx 上了:
1. Blog 用的是 WordPress,原先是用 mod_php 跑着的,现在则换成了 php-fpm
2. Wiki 用的是 Trac,原先是用的 mod_python,现在用 tracd 直接起来,然后 Nginx 转发
3. Git 前端用的是 Gitweb,因为懒得再启一个 spawn-fcgi 了,所以干脆换成 GitPHP,同样通过 php-fpm 的方式跑着
4. Zotero 的 WebDAV 存储,由于好久都不用,直接停了,有时间再看看有没有什么轻便的替代方案吧
PS1:关于 Gentoo 上的 php-fpm 配置,见 http://bugs.gentoo.org/show_bug.cgi?id=208155 及 http://bugs.gentoo.org/show_bug.cgi?id=301279
PS2:关于 Nginx 跑 WordPress 的 Permalink 设置,可以参考 http://blog.sjinks.pro/wordpress-plugins/nginx-compatibility/
I’ve just upgraded my WordPress to version 2.5, and there are many changes in the administration interface. The admin UI looks clean and simple, much better than before. The multi-file upload with progress bar feature is so cool, and tag management is powerful. Plugin can be upgraded by filled ftp information now, so fancy ![]()
Continuing trying new features~
Optimized my blog 
Wordpress February 23rd, 2008
I was so surprise when I used the Firebug to inspect homepage net load of my blog. It loaded 378K data, and most of them are js files…
I have investigated the return result and found this issue caused by following plugins:
- Social Bookmarks:
- prototype.js 62K
- effect.js 34K
- dragdrop.js 32K
- controls.js 29K
- niftycube.js 9K
- slider.js 12K
- WP Grins:
- prototype.js?ver=1.5.1.1 97K
- wp_grins_js 9K
- NextGEN Gallery:
- jquery.js?ver=1.2.2 30K
- thickbox-pack.js?ver=3.1.1 9K
- swfobject.js?ver=1.5 7K
These plugins take extra 330K data downloaded when activated, so crazy… So I deactivated Social Bookmarks and WP Grins, keep the NextGEN Gallery only.
And I have modified the configure file of nginx server, try to optimize static files’ performance
Tags: Optimization, Wordpress