Skip to main content

Home/ Larvata/ Group items tagged ag

Rss Feed Group items tagged

crazylion lee

BurntSushi/ripgrep: ripgrep combines the usability of The Silver Searcher with the raw ... - 1 views

shared by crazylion lee on 22 Oct 16 - No Cached
  •  
    "ripgrep combines the usability of The Silver Searcher with the raw speed of grep." -- 這套數據上看起來比ag 快一些
張 旭

循序漸進理解 HTTP Cache 機制 | TechBridge 技術共筆部落格 - 0 views

  • 減少資源的損耗
  • Cache,台灣翻譯叫做快取,中國翻譯叫做緩存
  • 用到這些資訊的時候,都可以用極快的速度撈出來,而不是再到資料庫裡面重新算一次
  • ...9 more annotations...
  • Server side 的 Cache,藉由把 Database 的資料撈出來之後存到別的地方達成。
  • Server 跟瀏覽器之間的 Cache 機制
  • 瀏覽器會檢視「現在的時間」是否有超過這個 Expires
  • HTTP 1.1 有一個新的 header 出現了,叫做:Cache-Control
  • max-age設定成31536000秒,也就是 365 天的意思
  • max-age會蓋過Expires。因此現在的快取儘管兩個都會放,但其實真正會用到的是max-age。
  • 過期了不代表不能用
  • 在 Server 傳送 Response 的時候,可以多加一個Last-Modified的 Header,表示這個檔案上一次更改是什麼時候。
  • 用If-Modified-Since來跟 Server 指定拿取:某個時間點以後有更改的資料。
crazylion lee

Amazon.com:Creative Selection: Inside Apple's Design Process During the Golde... - 0 views

  •  
    "Creative Selection: Inside Apple's Design Process During the Golden Age of Steve Jobs"
crazylion lee

Crypto 101 - 0 views

  •  
    " Crypto 101 is an introductory course on cryptography, freely available for programmers of all ages and skill levels. "
crazylion lee

UniversalCodeGrep by gvansickle - 1 views

  •  
    "Easy as Ack, Faster than grep" -- 這套好像是王者......
張 旭

HTTPS 升级指南 - 阮一峰的网络日志 - 0 views

  • 域名认证(Domain Validation):最低级别认证,可以确认申请人拥有这个域名。
  • 公司认证(Company Validation):确认域名所有人是哪一家公司,证书里面会包含公司信息。
  • 扩展认证(Extended Validation):最高级别的认证,浏览器地址栏会显示公司名。
  • ...8 more annotations...
  • 多域名
  • 单域名
  • 通配符
  • 网站的响应头里面,加入一个强制性声明
  • Strict-Transport-Security: max-age=31536000; includeSubDomains
  • 确保浏览器只在使用 HTTPS 时,才发送Cookie。
  • Set-Cookie:
  • ; Secure
1 - 6 of 6
Showing 20 items per page