CL-HTTP Chapter 11: Proxy Server


Reference Manual | Prev: Chapter 10. HTTP Client | Next: Chapter 12. W3P Presentation System


Contents

  1. 11.1 Overview
  2. 11.2 Enabling Proxy Service
  3. 11.3 Caching Proxy
  4. 11.4 SSL Proxy
  5. 11.5 Reverse Proxy
  6. 11.6 Recovering the Real Client IP Behind a Reverse Proxy
  7. 11.7 Emitting Forwarding Headers Upstream
  8. 11.8 Deploying CL-HTTP Behind Caddy
  9. 11.9 Access Control

11.1 Overview

CL-HTTP provides integrated HTTP proxy service. Proxy functionality is built into the existing server architecture, so CL-HTTP may act as a proxy without interrupting normal server operations. When CL-HTTP receives a request for a remote resource, it uses the client module to relay the information to the origin server and returns the response to the requesting client.

Three proxy modes are supported:

Source Files

FileContents
http:proxy;proxy Core proxy service: relay methods, reverse proxy, URL export
http:proxy;cache Caching proxy: cache initialization, enable/disable, garbage collection
http:proxy;database Cache database interface and file-system implementation
http:proxy;variables Proxy configuration variables
http:proxy;documentation Cache documentation and presentation methods
http:proxy;utils Proxy utility functions

11.2 Enabling Proxy Service

11.2.1 Starting and Stopping the Proxy

Proxy service is enabled on a running CL-HTTP server using http:enable-proxy-service. The proxy listens on the specified port (or the default proxy port) and accepts requests from clients in the allowed subnet list.

;; Enable proxy service on the default proxy port
(http:enable-proxy-service)

;; Enable on a specific port
(http:enable-proxy-service 8080)

;; Enable on multiple ports
(http:enable-proxy-service '(8080 8081))

;; Disable proxy service
(http:disable-proxy-service)        ; disable all proxy ports
(http:disable-proxy-service 8080)   ; disable a specific port

The proxy port can also be set at startup in the configuration file. When the HTTP server starts and proxy service ports are configured, the proxy is initialized automatically.

11.2.2 Configuration Variables

VariablePurpose
http:*proxy-service* List of port numbers on which proxy service is active. Set automatically by enable-proxy-service.
http:*standard-proxy-port* Default port for proxy service.
http:*proxy-caching-p* When non-nil, the proxy caches responses. Default is T on LispWorks, Genera, and MCL.
http:*client-http-version* Controls the HTTP version used by the proxy when relaying requests to origin servers.

11.2.3 Proxy Initialization

The function http:initialize-proxy sets up proxy data structures and the client substrate without enabling service. It is called automatically from the server initialization list. Pass T for the redo-p argument to reinitialize.

;; Reinitialize proxy structures
(http:initialize-proxy t)

11.3 Caching Proxy

11.3.1 Cache Architecture

The caching proxy uses in-memory data structures for metadata (resource objects, representation objects, vary dimensions) and the file system for entity storage. Each cached response is stored as a representation associated with a resource (identified by the request URI). A single resource may have multiple representations when the origin server uses Vary headers for content negotiation.

11.3.2 Enabling Caching

Caching is controlled by http:*proxy-caching-p*. When this variable is true, the proxy stores cacheable responses and serves them on subsequent matching requests, subject to HTTP/1.1 freshness and validation rules.

;; Enable caching
(setf http:*proxy-caching-p* t)

;; Disable caching (relay-only mode)
(setf http:*proxy-caching-p* nil)

11.3.3 Cache Size Limits

The cache enforces limits on both total size and number of resources. When limits are exceeded, the least recently accessed resources are evicted.

VariablePurpose
http:*proxy-cache-maximum-size* Maximum total size of cached entities in bytes.
http:*proxy-cache-maximum-resources* Maximum number of cached resources.

11.3.4 Cache Validation and Expiration

The caching proxy implements HTTP/1.1 cache semantics:

11.3.5 Garbage Collection

The cache implements both incremental and full garbage collection strategies. Incremental GC runs periodically and evicts the least recently accessed resources. Full GC reclaims all expired entries and compacts the cache to stay within configured limits.

11.3.6 Cache Inspection

When the proxy is loaded, the cached resources can be browsed at the URL /cl-http/proxy/resource? on the running server. Each resource listing shows the URI, creation date, vary dimensions, total size, and individual representations with their metadata.

11.3.7 Custom Database Backends

The cache database is abstracted through a generic interface defined in http:proxy;database. The default implementation uses the local file system. Custom backends (e.g., a distributed cache backed by a database) can be implemented by specializing the database protocol.

11.4 SSL Proxy

11.4.1 CONNECT Tunneling

When a client sends an HTTP CONNECT request to the proxy, the proxy establishes a TCP tunnel to the target host and port. The client then performs a TLS handshake through the tunnel directly with the origin server. The proxy does not inspect or cache CONNECT traffic — it simply relays bytes between the client and server.

CONNECT tunneling is supported automatically when proxy service is enabled. No additional configuration is required.

11.4.2 HTTPS Termination via Reverse Proxy

A common deployment pattern uses CL-HTTP as an HTTPS front-end for HTTP back-end servers. CL-HTTP terminates the TLS connection, decrypts the request, and forwards it as plain HTTP to the back-end. Responses are encrypted and returned to the client over TLS.

This is configured using the reverse proxy (see Section 11.5) with the CL-HTTP server listening on an HTTPS port and forwarding to HTTP back-end servers.

11.5 Reverse Proxy

11.5.1 Concept

The reverse proxy maps external URL paths to internal back-end servers. Clients connect to CL-HTTP and request URLs that appear to be local, but CL-HTTP transparently fetches the content from one or more back-end servers. This is useful for:

11.5.2 Configuring Reverse Proxy URLs

Reverse proxy URLs are created using http:export-url with the :reverse-proxy export type. The :proxy-forwardings argument specifies the back-end servers that handle requests matching the URL prefix.

;; Map /backend/ to an internal HTTP server
(http:export-url #u"/backend/"
                 :reverse-proxy
                 :proxy-forwardings '(("internal-server.local" 8080)))

;; Map /api/ to a back-end with a specific protocol
(http:export-url #u"/api/"
                 :reverse-proxy
                 :proxy-forwardings '(("api-server.local" 9090 :http)))

;; Multiple back-end servers for load distribution
(http:export-url #u"/app/"
                 :reverse-proxy
                 :proxy-forwardings '(("app1.local" 8080)
                                      ("app2.local" 8080)))

Each entry in :proxy-forwardings is a list of (domain-name port &optional protocol). The proxy constructs the back-end URL by replacing the host and port portions of the original request URL while preserving the path and query string.

11.5.3 HTTPS Front-End for HTTP Back-End

A typical deployment provides HTTPS termination for an HTTP back-end:

;; Start HTTPS service on port 443
(http:enable-http-service :on-ports 443)

;; Export a reverse proxy mapping to an HTTP back-end
(http:export-url #u"/app/"
                 :reverse-proxy
                 :proxy-forwardings '(("backend.internal" 8080)))

;; Enable proxy service on the HTTPS port
(http:enable-proxy-service 443)

Clients connect via HTTPS to https://example.com/app/ and the proxy forwards requests to http://backend.internal:8080/app/ over plain HTTP on the internal network.

11.5.4 HTTP/2 Protocol Translation

The reverse proxy can translate between HTTP protocol versions in both directions. Inbound protocol is controlled by set-http-version (the server setting). Upstream protocol is controlled by set-proxy-protocol-version. The :protocol in :proxy-forwardings determines whether HTTPS (and thus HTTP/2 ALPN negotiation) is used for the back-end connection.

Four protocol translation modes:

InboundUpstreamUse Case
HTTP/2HTTP/2End-to-end H2: maximum throughput with multiplexing on both sides
HTTP/2HTTP/1.1H2 termination: modern clients, legacy back-end
HTTP/1.1HTTP/2H2 uplift: multiplex legacy client requests to H2 back-end
HTTP/1.1HTTP/1.1Classic proxy relay

When upstream HTTP/2 is enabled and the back-end protocol is :https, multiple inbound requests to the same back-end host are multiplexed through a single TLS connection via HTTP/2 stream multiplexing. This reduces TLS handshake overhead and enables HPACK header compression across requests.

Configuration Examples

;; End-to-end HTTP/2 (HTTPS on both sides)
(http:set-http-version :http/2)              ; inbound: accept H2 clients
(http:set-proxy-protocol-version :http/2)    ; upstream: use H2 to back-end
(http:export-url #u("/" :port 8443) :reverse-proxy
  :proxy-forwardings '(("backend.example.com" 443 :https)))

;; H2 termination (H2 frontend, H1.1 backend)
(http:set-http-version :http/2)              ; inbound: accept H2 clients
(http:set-proxy-protocol-version :http/1.1)  ; upstream: H1.1 to back-end
(http:export-url #u("/" :port 8443) :reverse-proxy
  :proxy-forwardings '(("backend.local" 80 :http)))

;; H2 uplift (H1.1 frontend, H2 backend with multiplexing)
(http:set-http-version :http/1.1)            ; inbound: H1.1 only
(http:set-proxy-protocol-version :http/2)    ; upstream: multiplex via H2
(http:export-url #u("/" :port 80) :reverse-proxy
  :proxy-forwardings '(("backend.example.com" 443 :https)))

;; Classic H1.1 both sides
(http:set-http-version :http/1.1)
(http:set-proxy-protocol-version :http/1.1)
(http:export-url #u("/" :port 80) :reverse-proxy
  :proxy-forwardings '(("backend.local" 80 :http)))

Protocol Version API

(http:set-http-version version)
Controls the inbound protocol. :http/2 enables HTTP/2 via ALPN on HTTPS ports. :http/1.1 disables HTTP/2 inbound. Affects the server globally.
(http:set-proxy-protocol-version version)
Controls the upstream (outbound) protocol. :http/2 enables HTTP/2 for HTTPS upstream connections via ALPN, with automatic fallback to HTTP/1.1. :http/1.1 or :http/1.0 forces the respective version for all upstream connections. Returns the previous setting.
http:*proxy-upstream-http2-enabled*
Boolean variable (default T). When true, the proxy uses HTTP/2 for upstream HTTPS connections. Set by set-proxy-protocol-version.

11.6 Recovering the Real Client IP Behind a Reverse Proxy

When CL-HTTP is the origin server behind an external reverse proxy (e.g. Caddy, nginx, HAProxy, AWS ALB), the TCP peer it sees is the proxy — not the real client. Without intervention, the access log, IP-based ACLs (*secure-subnets*, *proxy-subnets*), host-log-name, and any application code that reads (server-address *server*) all attribute every request to the proxy's IP.

CL-HTTP recovers the real client by parsing the X-Forwarded-For header (or RFC 7239 Forwarded) emitted by the trusted upstream proxy, walking the chain right-to-left, and rewriting (server-address) to the first untrusted address found. The rewrite happens once at request intake (after headers are parsed, before dispatch), so every downstream consumer auto-corrects. The mechanism works identically on HTTP/1.0, HTTP/1.1, and HTTP/2.

11.6.1 The Trust List

The override is fail-closed: by default no rewrite happens. An operator must explicitly declare which upstream proxies are believed.

http:*trusted-reverse-proxies*
List of IP addresses (32-bit integers) of trusted upstream reverse proxies. Default NIL — no rewrite ever occurs. The declaration is independent of *read-subnets*, *write-subnets*, and *proxy-subnets*: trusting a host to forward client IPs does not grant it any other access right.
(http:define-trusted-reverse-proxies &rest addresses)
Macro that parses and installs the trust list. Accepts dotted-quad strings or named subnet symbols.
(http:reverse-proxy-trusts-p address)
Predicate: returns non-NIL when address is in the trust list. Accepts a 32-bit integer or a dotted-quad string. Returns NIL for IPv6 values (via type guard) so the IPv4-only matcher is never called on them.
http:*reverse-proxy-header*
Which forwarding header drives the rewrite. Values: :x-forwarded-for (default; the de facto convention), :forwarded (RFC 7239), or :both (Forwarded takes precedence per RFC 7239 §7.3 when both are present).
http:*reverse-proxy-max-hops*
Upper bound on the number of forwarded entries the parser will consider (default 8). Caps parser work and the rightmost-untrusted walk in case a malicious or buggy upstream emits an unbounded chain.
(http:server-reverse-proxy-host server)
After a rewrite, holds the original TCP peer (the trusted upstream proxy). NIL when no rewrite happened. Used by the outbound proxy emission (Section 11.7) to identify the immediate downstream client when CL-HTTP itself forwards.
(http:server-reverse-proxy-forwarded-chain server)
The full parsed forwarding chain, for audit / logging.

11.6.2 Configuration Example

;; CL-HTTP is fronted by Caddy at 10.0.3.10 (terminates TLS, forwards to us).
;; Trust Caddy to forward client IPs honestly.
(http:define-trusted-reverse-proxies "10.0.3.10")

;; Without this declaration, CL-HTTP would log "10.0.3.10" as the client
;; for every request, regardless of the X-Forwarded-For header value.

After this single declaration, requests arriving from Caddy at 10.0.3.10 carrying X-Forwarded-For: 203.0.113.7 will have (server-address *server*) set to the integer for 203.0.113.7 before dispatch fires. The access log shows the real client IP; ACL checks evaluate against the real client.

11.6.3 Resolution Algorithm

For each incoming request:

  1. Spoof guard: if the immediate TCP peer is not in *trusted-reverse-proxies*, the forwarding headers are ignored entirely. No rewrite.
  2. Chain extraction: read X-Forwarded-For / Forwarded per *reverse-proxy-header*; truncate to *reverse-proxy-max-hops* entries.
  3. Rightmost-untrusted walk: scan the chain right-to-left, skipping entries that match *trusted-reverse-proxies*. Return the first untrusted IPv4 address found.
  4. Fallback: if every parseable entry is trusted, return the leftmost parseable entry (best guess of the original client).
  5. IPv4 only: IPv6 textual literals and RFC 7239 identifiers like "unknown" are skipped (the matcher does not yet handle IPv6 subnet matching). If no IPv4 entry is recoverable, no rewrite.
  6. Rewrite: set (server-address) to the resolved integer, clear (server-host) so downstream rendering falls back to the address string, stash the original peer in (server-reverse-proxy-host), store the parsed chain in (server-reverse-proxy-forwarded-chain).

11.6.4 Limitations

11.7 Emitting Forwarding Headers Upstream

The symmetric companion to Section 11.6: when CL-HTTP itself acts as a proxy (forward or reverse), it can emit X-Forwarded-For, X-Forwarded-Proto, X-Forwarded-Host, and/or RFC 7239 Forwarded on outbound requests so that the next hop or the origin can in turn recover the chain.

Always-on regardless of configuration: Via (RFC 9110 §7.6.3) and hop-by-hop header stripping (RFC 7230 §6.1).

http:*proxy-emit-forwarding-headers*
Controls which forwarding headers the proxy emits on outbound requests. Values:
ValueHeaders emitted
:none / nil (nothing extra)
:x-forwarded (default) X-Forwarded-For, X-Forwarded-Proto, X-Forwarded-Host
:rfc-7239 Forwarded (RFC 7239)
:both both of the above

11.7.1 Address Reported as the Immediate Peer

The IP appended to outbound headers is taken from (http:proxy-immediate-peer-address server), which returns (server-reverse-proxy-host server) when the inbound XFF override (Section 11.6) has fired — that is, when CL-HTTP itself is chained behind another trusted reverse proxy — otherwise (server-address server). The result is that intermediate hops are reported consistently down the chain.

11.7.2 Behavior Change Notice

The default value :x-forwarded means that any deployment of CL-HTTP as a forward proxy will emit client IPs on every outbound request. Operators of privacy-preserving anonymizing proxies should set the variable to :none:

;; Suppress all X-Forwarded-* / Forwarded emission (anonymizing forward proxy)
(setq http:*proxy-emit-forwarding-headers* :none)

;; Emit only the modern RFC 7239 Forwarded header (no X-Forwarded-*)
(setq http:*proxy-emit-forwarding-headers* :rfc-7239)

;; Emit both X-Forwarded-* and Forwarded for maximum compatibility
(setq http:*proxy-emit-forwarding-headers* :both)

11.7.3 Hop-Cap Symmetry

The outbound XFF append honors *reverse-proxy-max-hops* (same variable as the inbound parser) so that a hostile or buggy chain cannot induce CL-HTTP to emit unbounded headers.

11.8 Deploying CL-HTTP Behind Caddy

Caddy is a popular Go-based reverse proxy with automatic Let's Encrypt TLS certificate management. A common deployment pattern places Caddy on the public-facing IP (terminating TLS, holding the production cert) and forwards cleartext HTTP/1.1 to CL-HTTP on a private interface. This section gives a worked example for Genera on the VLM (Virtual Lisp Machine), the simplest configuration that exercises the full stack.

11.8.1 Topology

   Internet                LAN                  Genera VLM
   --------                ---                  ----------
   client  ->  Caddy at 10.0.3.10:447   ->   CL-HTTP at 10.0.3.15:8447
       (TLS)        (terminates TLS)             (plain HTTP/1.1)

Caddy handles certificate renewal and TLS termination. CL-HTTP runs plain cleartext on a private port and is shielded from internet scanners by subnet ACLs. The real client IP is recovered through X-Forwarded-For using the override in Section 11.6.

11.8.2 Caddyfile

Minimal configuration: validate with sudo caddy validate --config /etc/caddy/Caddyfile then start with sudo caddy start --config /etc/caddy/Caddyfile.

# cleartext on 447 gets bounced up to HTTPS on the same port
{
    auto_https disable_redirects
    servers 10.0.3.10:447 {
        listener_wrappers {
            http_redirect
            tls
        }
    }
}

# External TLS listener; proxies cleartext HTTP/1.1 to the backend
https://www.symbolics.biz:447 {
    bind 10.0.3.10
    tls /etc/letsencrypt/live/www.symbolics.biz/fullchain.pem \
        /etc/letsencrypt/live/www.symbolics.biz/privkey.pem
    reverse_proxy 10.0.3.15:8447 {
        transport http {
            versions 1.1
        }
    }
}

Caddy automatically emits X-Forwarded-For, X-Forwarded-Proto, and X-Forwarded-Host on every forwarded request. The versions 1.1 directive pins HTTP/1.1 upstream because Genera's CL-HTTP does not yet support inbound HTTP/2; omit it on platforms (LispWorks, SBCL) where HTTP/2 is available and desired upstream.

11.8.3 CL-HTTP Configuration

One line declares Caddy trusted; one line enables service on the private HTTPS port (cleartext locally, since Caddy holds the TLS context). Place these in your site's configuration.lisp:

;; Trust Caddy at 10.0.3.10 to forward client IPs.  Without this
;; declaration, the access log would record "10.0.3.10" as the client
;; for every request, regardless of X-Forwarded-For.
(http:define-trusted-reverse-proxies "10.0.3.10")

;; Restrict reads/writes to LAN subnets (and your VPN range) so external
;; scanners that bypass Caddy and connect directly to 8447 are rejected.
(http:define-read-subnets  "10.0.3.0" "10.0.5.0" "73.234.113.27")
(http:define-write-subnets "10.0.3.0" "10.0.5.0" "73.234.113.27")

;; Enable the backend port
(http:enable-http-service :on-ports '(8447 8001))

11.8.4 Virtual Host and URL Context Remapping

Public URLs (https://www.symbolics.biz:447/...) and the internal URLs CL-HTTP exports (http://www.symbolics.biz:8447/...) use different schemes and ports. Three pieces of configuration bridge the two contexts so requests dispatch correctly and generated links point clients back through Caddy rather than at the internal port.

;; Site parameters (mirror these to match your Caddyfile)
(defparameter *symbolics-host*              "www.symbolics.biz")
(defparameter *symbolics-external-port*     447)             ; Caddy public
(defparameter *symbolics-internal-port*     8447)            ; CL-HTTP backend
(defparameter *symbolics-external-protocol* :https)

;; Generate relative URLs so cross-context remapping can rewrite them.
;; Absolute URLs in responses would otherwise carry the internal port.
(setq url:*relativize-urls* t)

;; Tell the URL interner that requests arriving at the external host:port
;; match URLs exported under the internal http://host:port context.
(http:add-virtual-host-nick-name
  *symbolics-host* *symbolics-external-port*
  (http:local-port-context *symbolics-internal-port* :http))

;; Rewrite absolute internal URLs back to the external form whenever they
;; appear in outbound responses (Location, Content-Location, redirects,
;; generated link href values, etc.).
(http:define-url-context-remappings
  `((:http  ,*symbolics-host* ,*symbolics-internal-port*
     ,*symbolics-host* ,*symbolics-external-port* ,*symbolics-external-protocol*)))

After loading this configuration the virtual-host table shows:

;; Virtual Host Mappings (host:port => Local-Context)
;; www.symbolics.biz:447 => http://www.symbolics.biz:8447

;; URL Context Remappings (external internal)
;; https://www.symbolics.biz:447 => http://www.symbolics.biz:8447

Use http:show-virtual-hosts and http:show-url-context-remapping to inspect the current configuration; http:clear-virtual-hosts and http:clear-url-context-remapping reset them.

url:*relativize-urls*
When non-NIL, the URL printer emits relative URLs where possible instead of fully qualified absolute URLs. Required for the external/internal context remapping to be effective — an absolute URL bearing the internal port would bypass the rewrite and leak :8447 to the client.
(http:add-virtual-host-nick-name host port local-context)
Registers host:port as a nickname for local-context (built via http:local-port-context). Incoming requests carrying that Host header are interned against the local context, so URLs exported on the internal port match requests arriving on the external port.
(http:define-url-context-remappings &rest mappings)
Macro installing bidirectional mappings between internal and external URL contexts. Each mapping is a list: (internal-protocol internal-host internal-port external-host external-port external-protocol). At response-generation time, internal URLs that match the inside of a mapping are rewritten to the outside form.
http:show-virtual-hosts, http:clear-virtual-hosts
Inspect or reset the virtual-host nickname table.
http:show-url-context-remapping, http:clear-url-context-remapping
Inspect or reset the URL context remappings.

Without this configuration, a request for https://www.symbolics.biz:447/foo arrives at CL-HTTP, the URL interner fails to match an export under http://www.symbolics.biz:8447/foo, and a 404 is returned. Generated links would also point at the internal port, breaking navigation.

11.8.5 What This Achieves

11.8.6 LAN Clients

Internal clients reaching the public hostname via the router's hairpin NAT appear as the router's internal address (e.g. 10.0.3.1) rather than their actual LAN address. This is a network-topology artifact: the router rewrites the source IP before the packet reaches Caddy, so Caddy has no way to know the original LAN client. If precise LAN-client identification is required, either:

11.9 Access Control

11.9.1 Subnet Restrictions

Proxy access is controlled by subnet filtering. Only clients whose IP addresses match the allowed subnets may use the proxy. Two variables govern access:

VariablePurpose
http:*proxy-subnets* List of subnet specifications allowed to use the proxy. When nil, falls back to http:*secure-subnets*.
http:*secure-subnets* Global secure subnet list shared with the server. Used as fallback when *proxy-subnets* is nil.
http:*disallowed-subnets* Subnets explicitly denied proxy access, overriding the allow lists.
;; Allow only the local network to use the proxy
(setf http:*proxy-subnets*
      (list (http:parse-internet-addresses "192.168.1.0" "255.255.255.0")))

;; Deny a specific host
(setf http:*disallowed-subnets*
      (list (http:parse-internet-addresses "192.168.1.100" "255.255.255.255")))

When a client outside the allowed subnets attempts to use the proxy, a proxy-access-forbidden condition is signalled and the client receives a 403 (Forbidden) response.

11.9.2 Proxy Authentication

The proxy supports HTTP Proxy-Authenticate / Proxy-Authorization header exchanges. When proxy authentication is enabled, clients must supply valid credentials before the proxy will relay their requests. Authentication operates independently of origin-server authentication — both can be required for the same request.

11.9.3 Combining Access Controls

Subnet restrictions and proxy authentication can be combined for defense in depth. A typical configuration restricts proxy access to the local network via subnets and additionally requires authentication for sensitive destinations.

;; Configure proxy access control
(setf http:*proxy-subnets*
      (list (http:parse-internet-addresses "10.0.0.0" "255.0.0.0")))

;; Enable proxy service with authentication
(http:enable-proxy-service 8080)

11.9.4 Extensions and Research Applications

The CL-HTTP proxy is designed as a platform for intelligent caching and collaboration research. Several extension opportunities exist:

Cache Prefetch
The proxy cache can be used with the W4 Web Walker to implement prefetch operations. An implementation is provided in http:proxy;examples;prefetch.lisp.
Collaborative Browsing
The proxy may infer group browsing patterns and aid in resource discovery by analyzing request patterns across multiple users.
Annotation
The cache can serve as a platform for group annotation of web resources, allowing users to attach metadata to cached pages.
Intelligent Caching
CL-HTTP provides an excellent environment for research in dynamic caching algorithms, leveraging Common Lisp's introspection and meta-programming capabilities.

Reference Manual | Prev: Chapter 10. HTTP Client | Next: Chapter 12. W3P Presentation System