Python TCP Socket Server 遇到 socket 沒有 AF_INET 問題

Python 要建立 TCP 的 Socket server 臨時存取用,但是卻遇到下述錯誤:

  • AttributeError: partially initialized module 'socket' has no attribute 'AF_INET' (most likely due to a circular import)

閱讀全文〈Python TCP Socket Server 遇到 socket 沒有 AF_INET 問題〉

Apache 的 mod_pagespeed cache 如何清除

Google 推出的 Apache module - mod_pagespeed, 使用起來是蠻方便的, 只是臨時要改些東西, 反而有時後會有點麻煩.

註: 可以比較 mod_pagespeed 的 使用前 和 使用後, 於此網頁 Page Speed Online 分析效能看看.

最常見的就是要改 CSS, 但是 CSS 被 Cache 住, Apache restart 也清不掉, 該怎麼清 mod_pagespeed cache 呢?

閱讀全文〈Apache 的 mod_pagespeed cache 如何清除〉