Knowledgebase

Delivery and Caching: Everything That Matters, Briefly Print

  • internet, caching, database, firewall, downtime, guide, howto, solution
  • 0

The summary.

A LOW CACHE HIT RATE MEANS THE DELIVERY NETWORK IS ACHIEVING LITTLE

Query strings treated as distinct, cookies preventing caching and excessive variants are the usual causes. Verify the hit rate rather than assuming.

VERSIONED FILENAMES ARE THE BEST CACHING PATTERN

Content at an address never changes, so it caches indefinitely and changes appear immediately. Purging should be an exception, not a mechanism.

NEVER LET A SHARED CACHE HOLD ANYTHING VARYING BY USER

Test explicitly whether a signed-in user's content can be served to someone else.

CONFIGURE WHICH UPSTREAMS MAY SET CLIENT-ADDRESS HEADERS

Trusting them from anywhere allows spoofing your logs and access rules.

A HEALTH CHECK MUST EXERCISE DEPENDENCIES

A server accepting connections while its database is unreachable is not healthy.

STATELESS BACKENDS BEAT SESSION PERSISTENCE

Persistence causes uneven distribution, lost sessions on failure, and difficulty draining for maintenance.

YOU CANNOT ABSORB VOLUME EXCEEDING YOUR CONNECTION

Mitigation must happen upstream. Establish what your provider covers and how fast it engages, before you need it.

RUN A WEB APPLICATION FIREWALL IN MONITORING MODE FIRST


Was this answer helpful?
Back

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


Trustpilot