Knowledgebase

Caching and Delivery Print

  • webdevelopment, caching, guide, howto, solution, zillionkinghost, hosting, support
  • 0

Serving efficiently.

WHAT CACHING ACHIEVES

Repeat visits transferring almost nothing.

WHAT TO SET

Long durations for assets, with versioned filenames Short or no caching for documents that change

WHY VERSIONED FILENAMES

The content at an address never changes, so it can be cached indefinitely, and a change creates a new address.

WHAT THAT SOLVES

Updates appearing immediately, without disabling caching.

WHAT COMPRESSION ACHIEVES

Substantially smaller transfers for text-based content.

WHAT TO ENABLE

Compression on the server, for markup, styles, scripts and data.

WHAT NOT TO COMPRESS

Images and media, which are already compressed.

WHAT A DELIVERY NETWORK PROVIDES

Serving from closer to the visitor, reducing latency.

WHAT IT DOES NOT PROVIDE

Faster generation of dynamic content.

WHAT MATTERS FOR LOCAL VISITORS

A server near them, or a delivery network with a presence near them.

WHAT TO CHECK

That caching headers are actually being sent.

HOW

The network panel, which shows the headers on every response.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot