在 Your Message on Gaxed.com 看到一個 Cache 技巧：
For Gaxed I’m using some heavy caching to prevent it from going down to easily. The basic algorithm is: when a picture is viewed more than 50 times, it’s moving into the cache folder as a static JPG (the page URL will stay the same of course, acting as a permalink). This way, I don’t need to poll the PHP, the database, and I also don’t need to recreate the image using PHP image/ GD.
問題是 counting 要怎麼做比較好？用 memcached 直接做似乎不錯？反正掉了再去抓就好。