Getting Started with Varnish Cache: Accelerate Your Web Applications

Thijs Feryn

  • 出版商: O'Reilly
  • 出版日期: 2017-05-02
  • 定價: $1,200
  • 售價: 8.0$960
  • 語言: 英文
  • 頁數: 160
  • 裝訂: Paperback
  • ISBN: 149197222X
  • ISBN-13: 9781491972229
  • 相關分類: 網站開發
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

商品描述

How long does it take for your website to load? Web performance is just as critical for small and medium-sized websites as it is for massive websites that receive tons of hits. Before you pour money and time into rewriting your code or replacing your infrastructure, first consider a reverse-caching proxy server like Varnish. With this practical book, you’ll learn how Varnish can give your website or API an immediate performance boost.

Varnish mimicks the behavior of your webserver, caches its output in memory, and serves the result directly to clients without having to access your webserver. If you’re a web developer familiar with HTTP, this book helps you master Varnish basics, so you can get up and running in no time. You’ll learn how to use the Varnish Configuration Language and HTTP best practices to achieve faster performance and a higher hit rate.

  • Understand how Varnish helps you gain optimum web performance
  • Use HTTP to improve the cache-ability of your websites, web applications, and APIs
  • Properly invalidate your cache when the origin data changes
  • Optimize access to your backend servers
  • Avoid common mistakes when using Varnish in the wild
  • Use logging and debugging tools to examine the behavior of Varnish

商品描述(中文翻譯)

你的網站需要多久才能載入?對於小型和中型網站來說,網頁性能和大型網站一樣重要,因為它們都會接收大量的訪問。在你花費金錢和時間重寫代碼或更換基礎設施之前,首先考慮使用像 Varnish 這樣的反向緩存代理服務器。通過這本實用的書,你將學習到如何通過 Varnish 為你的網站或 API 提供即時的性能提升。

Varnish 模擬了你的網頁伺服器的行為,將其輸出緩存到內存中,並直接將結果提供給客戶端,而無需訪問你的網頁伺服器。如果你是一位熟悉 HTTP 的網頁開發人員,這本書將幫助你掌握 Varnish 的基礎知識,讓你能夠快速上手。你將學習如何使用 Varnish 配置語言和 HTTP 最佳實踐來實現更快的性能和更高的命中率。

本書內容包括:
- 瞭解 Varnish 如何幫助你獲得最佳的網頁性能
- 使用 HTTP 改善你的網站、網頁應用和 API 的緩存能力
- 在源數據更改時正確地使緩存失效
- 優化對後端伺服器的訪問
- 避免在實際應用中使用 Varnish 時常見的錯誤
- 使用日誌記錄和調試工具來檢查 Varnish 的行為

以上是這本書的內容摘要。