Instant Varnish Cache How-to
暫譯: 即時 Varnish Cache 操作指南

Roberto Moutinho

  • 出版商: Packt Publishing
  • 出版日期: 2013-03-11
  • 售價: $1,020
  • 貴賓價: 9.5$969
  • 語言: 英文
  • 頁數: 56
  • 裝訂: Paperback
  • ISBN: 178216040X
  • ISBN-13: 9781782160403
  • 海外代購書籍(需單獨結帳)

商品描述

Hands-on recipes to improve your website's load speed and overall user experience with Varnish Cache

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Connect and health-check application servers with Varnish Cache.
  • Load balance requests across clustered servers.
  • Define caching policies and request/response workflow.

In Detail

When you're doing business on the Web, every second counts. 80 percent of the end user response time is spent on downloading content to the browser, and Varnish Cache is here to help you solve this problem in a simple and effective way.

"Varnish Cache How-to" is a practical, hands-on guide that will take you from beginner to advanced, improving your website speed and dropping the bounce and page abandonment rates of your website. With easy-to-follow recipes, this book will help you take advantage of caching your application server's response to avoid a duplicated workload.

This book will take you from the installation of the Varnish Cache server to defining caching policies, the normalization of static content, and a final production-ready fast and scalable cache server.

You will learn to balance requests across servers based on input data or pre-defined settings, create persisted sessions (sticky sessions), compress static content, and modify requests. If you want to improve the speed and also provide a fail-over mechanism to achieve a fast and available website, then this book is for you.

By the end of this book, you'll learn how to scale and improve the user's experience by providing a fast and available website.

What you will learn from this book

  • Install and configure Varnish Cache.
  • Connect application servers to Varnish Cache.
  • Load balance requests.
  • Request and response workflow inside the Varnish.
  • Caching and compressing static content.
  • Session and cookie handling.
  • Invalidating stale content.

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. Get the job done and learn as you go. Easy-to-follow, step-by-step recipes which will get you started with Varnish Cache. Practical examples will help you to get set up quickly and easily.

Who this book is written for

This book is aimed at system administrators and web developers who need to scale websites without tossing money on a large and costly infrastructure. It's assumed that you have some knowledge of the HTTP protocol, how browsers and server communicate with each other, and basic Linux systems.

商品描述(中文翻譯)

實用食譜以改善您的網站載入速度和整體用戶體驗,使用 Varnish Cache

概述

  • 立即學習新知!一本短小、快速、專注的指南,提供即時結果。
  • 使用 Varnish Cache 連接並檢查應用伺服器的健康狀態。
  • 在集群伺服器之間負載平衡請求。
  • 定義快取政策和請求/回應工作流程。

詳細內容

當您在網路上經營業務時,每一秒都至關重要。80% 的最終用戶回應時間都花在將內容下載到瀏覽器上,而 Varnish Cache 將幫助您以簡單有效的方式解決這個問題。

《Varnish Cache 使用手冊》是一本實用的、動手操作的指南,將帶您從初學者提升到進階,改善您的網站速度,降低網站的跳出率和頁面放棄率。這本書提供易於遵循的食譜,幫助您利用快取應用伺服器的回應,以避免重複的工作負載。

本書將帶您從 Varnish Cache 伺服器的安裝開始,到定義快取政策、靜態內容的標準化,最終建立一個生產就緒的快速且可擴展的快取伺服器。

您將學會根據輸入數據或預定義的設置在伺服器之間平衡請求、創建持久會話(sticky sessions)、壓縮靜態內容和修改請求。如果您想改善速度並提供故障轉移機制以實現快速且可用的網站,那麼這本書就是為您而寫。

在本書結束時,您將學會如何通過提供快速且可用的網站來擴展和改善用戶體驗。

您將從本書中學到什麼

  • 安裝和配置 Varnish Cache。
  • 將應用伺服器連接到 Varnish Cache。
  • 負載平衡請求。
  • Varnish 內部的請求和回應工作流程。
  • 快取和壓縮靜態內容。
  • 會話和 cookie 處理。
  • 使過期內容失效。

方法

本書充滿了實用的逐步指導和對最重要和有用任務的清晰解釋。完成工作並在過程中學習。易於遵循的逐步食譜將幫助您開始使用 Varnish Cache。實用的範例將幫助您快速輕鬆地設置。

本書的讀者對象

本書針對需要擴展網站而不想在大型且昂貴的基礎設施上浪費金錢的系統管理員和網頁開發人員。假設您對 HTTP 協議、瀏覽器和伺服器之間的通信以及基本的 Linux 系統有一定的了解。