[ Web ] Accelerate Page Accesses Throttling Background Tasks: Unusual Site Speedup Techniques: Part 2 - PHP Classes blog

http://www.phpclasses.org/blog/post/132-Accelerate-Page-Accesses-Throttling-Background-Tasks-Unusual-Site-Speedup-Techniques-Part-2.html Introduction 通常網站速度決定了一個網站的成功與否。 而這方面是從使用者的觀點,觀察頁面是否能夠夠快的被處理呈現。 前一部分討論緩慢的原因是因為外部內容的

[ Web ] Entities in modular XHTML

Entities in modular XHTML http://cweiske.de/tagebuch/xhtml-entities.htm 要在 HTML 裡頭應用某些特殊字元,可以把該字元寫成 “named entities”。 最常用的就是空白字元 但是當我們要用在未指定 DTD 的 XML 上面

[ PHP ] Unpredictable hashes for humans

Unpredictable hashes for humans http://seld.be/notes/unpredictable-hashes-for-humans 對網站開發人員產生隨機的 ID 或者雜湊值是很常見的事情, 舉個例子,大型的專案或者開發框架可能需要實現自己的 PHP session 處理器,或者在 API 當中把這

[ MySQL ] Checking for a live database connection considered harmful

Checking for a live database connection considered harmful http://www.mysqlperformanceblog.com/2010/05/05/checking-for-a-live-database-connection-considered-harmful/ 對我來說觀察客戶的資料庫是很稀鬆平常的事情, 而我注意到很多資源耗用,浪費在傳送查詢之前的資料庫連線狀態檢查。 底下是根據設計