Posts
All the articles I've posted.
[nodejs] nvm is not compatible with the npm config "prefix" option: currently set to ....
Published: at 01:36 PM (1 min read)nvm is not compatible with the npm config 'prefix' option...
[http] Last-Modified, If-Modified-Since, ETag 和 If-None-Match 介紹
Published: at 08:50 AM (4 min read)介紹 http revalidate 的幾個常見 header
[http] http header, Cache-Control, Expires 用法說明
Published: at 08:20 AM (6 min read)介紹有哪些 http header 可以善用在 client 端(瀏覽器)來優化網頁速度
[chrome] 如何檢查 request 是否有正確的 cache
Published: at 07:54 AM (2 min read)如何檢查 request 是否有正確的 cache
[vscode] emmet 在 react(jsx) 無法自動產生 html
Published: at 02:16 PM (1 min read)最近常在 vscode 寫 react,由於 react 是使用 jsx 語法,發現 emmet 在 js 檔案無法正常的自動產生 html
[mac] 查詢正在使用的 port 及 process id
Published: at 03:40 PM (1 min read)查詢目前使用中的 port 及 process id
[mysql] InnoDB: Table `mysql`.`innodb_table_stats` not found.
Published: at 11:39 PM (1 min read)InnoDB: Table `mysql`.`innodb_table_stats` not found.
[nginx] 錯誤,client intended to send too large body
Published: at 01:27 PM (1 min read)之前因為把機器上原本的 apache 的 web server 換成 nginx,遇到了這個錯誤 `client intended to send too large body`
[vscode] experimental support for decorators is a feature that is subject to change in a future release
Published: at 12:31 PM (1 min read)在 visual studio code 使用 ES7 (ECMA Sciprt7) 的 decorator 時,可能會遇到 `experimental support for decorators is a feature that is subject to change in a future release`的語法錯誤提示
[nginx] 移除不必要的預設 header,"Server" 版本
Published: at 08:28 AM (1 min read)預設安裝好 nginx 會有 web server 版本資訊的 header,為了資訊安全上面的考量,建議將 /etc/nginx/nginx.conf 的 server_tokens off; 打開,這樣就不會在 header 顯示 nginx 的版本資訊。