Tags

Tags give the ability to mark specific points in history as being important
  • 1.1.0-beta1

    1.1.0-beta1: API freeze for the 1.1.x track
    
    Cut after alpha2 came back from a clean re-test on portal-dev with
    both alpha1 findings verified fixed and zero regressions.
    
    Same code as 1.1.0-alpha2 (commit 1322537) plus a ROADMAP docs
    bump. The version bump signals API freeze for the 1.1.x track and
    asks operators to soak the module on production-shape installs
    ahead of rc1.
    
    What 1.1 ships: per-user private-cache mode for authenticated
    Drupal users. Responses whose Drupal cache contexts indicate
    per-user variation get X-LiteSpeed-Cache-Control: private,max-age=N
    automatically; operators do not hand-tag routes or fragments.
    
    Field-test history through alpha cycle:
    - Cache-poisoning canary clean across 18 trials.
    - Anonymous response back-compat byte-identical to 1.0.0-rc1.
    - Two bugs found and fixed in alpha2: admin-route over-emission,
      drush watchdog:show placeholder rendering.
    - Status report row dynamic against the .htaccess directive state.
    - Update hook lscache_update_8101 idempotent across repeats.
    
    Stability commitment: response-header shape, private_cache.* config
    schema, administer lscache permission, and TagHeaderBuilder service
    are stable from this release. Path to 1.1.0 stable is bug-fix only.
  • 1.1.0-alpha2

    1.1.0-alpha2: skip admin routes; substitute log placeholders inline
    
    Two bug fixes from the alpha1 field test on portal-dev. The cache-
    poisoning canary (3 cycles x 3 page shapes x 2 users = 18 trials)
    passed cleanly on alpha1, validating the architecture; what surfaced
    was scope-creep on the private-cache emission rather than a
    correctness flaw.
    
    Fix 1: admin routes no longer emit any LSCache header. Alpha1's
    decision tree only checked Cache-Control: no-store to disqualify
    responses, but admin pages return must-revalidate, no-cache, private
    (same as authenticated content) and so were being held in private
    cache for the full TTL. Practical impact was bounded by per-user
    keying (no cross-user leakage) but settings forms looked stale to
    operators for up to 600s after a change. Switched to AdminContext
    ::isAdminRoute() for the skip - covers everything under /admin/*
    plus contrib routes flagged _admin_route: TRUE.
    
    Fix 2: debug log messages now contain resolved values rather than
    literal @tags / @ttl placeholder text. Drupal's dblog UI substitutes
    the placeholders correctly, but drush watchdog:show doesn't run the
    same pipeline. Alpha1 used the deferred-substitution pattern; alpha2
    uses inline sprintf strings so every log consumer sees resolved
    values.
  • 1.2.0-alpha1

    1.2.0-alpha1: ESI render element on top of 1.1's private cache
    
    First alpha of the 1.2.x track. Adds a new render element type
    'lscache_esi' that emits an <esi:include src="..." /> tag pointing
    at a fragment route, plus the fragment route itself, plus an
    HMAC-SHA256 token signer that gates fragment access.
    
    Drupal-native: 'lscache_esi' accepts the same #callback and #args
    shape as #lazy_builder. A render-array author who already knows how
    to write a lazy builder can promote it to an ESI fragment with one
    key change. The surrounding response stays public-cacheable because
    the per-user variation is pushed out to the fragment, and the
    fragment itself emits private-cache headers picked up by 1.1's
    response subscriber.
    
    Token format is base64url(json-payload).hex(hmac-sha256), keyed on
    the site's hash salt. Tampering, replaying, or signing with a
    different salt all fail verification cleanly. Every fragment also
    carries an 'lscache_esi' cache tag so a single invalidation drains
    every fragment site-wide.
  • 1.1.0-alpha1

    1.1.0-alpha1: private-cache mode for authenticated users
    
    First alpha of the 1.1.x track. Extends caching from public-only to
    LSCache's per-user private cache. Authenticated user pages, which
    1.0.x passed through to PHP, can now be held per-user.
    
    Drupal-native: the response subscriber detects per-user cache
    contexts (user, user.permissions, user.roles, session, configurable)
    and emits X-LiteSpeed-Cache-Control: private,max-age=N
    automatically. Operators do not hand-tag routes or fragments.
    
    Off by default; private cache scales with active users. Default TTL
    600s (vs 3600s public default). Status report row warns if private
    mode is enabled but .htaccess lacks 'CacheLookup ... private on'.
    Sites upgrading from 1.0.x get the new defaults via
    lscache_update_8101.
    
    Roadmap order updated: 1.1 is now private cache, 1.2 is ESI. ESI
    fragments are private-cached responses at their own URLs, so
    private cache is the foundational primitive ESI builds on.
  • 1.0.1

    1.0.1 hardening release
    
    Adds element-level validation that restricts the LSCache Purger
    purge_host field to http:// and https:// schemes. Drupal's url
    element type otherwise accepts any scheme PHP's filter_var
    recognises (file, ftp, ldap, gopher, etc.). The HTTP purger only
    makes sense over http or https; other schemes would have failed at
    runtime anyway, but the new validator surfaces an immediate error
    and closes a (very narrow) avenue for an admin with the
    'administer lscache' permission to use the form to probe internal
    endpoints.
    
    Operator-facing only; permission-gated. No security advisory
    associated as no exploitable vulnerability was identified. Defence
    in depth from the 1.0.0 pre-stable security review.
  • 1.0.0

    1.0.0 stable
    
    First stable release of the Drupal.org-native LSCache integration.
    Cut after rc1 soaked cleanly across TubeSpanner Portal and several
    live production sites for ten days with no tag-invalidation
    regressions, header correctness issues, or open queue reports.
    
    Same code as rc1 plus a cosmetic info.yml description polish. 1.0.0
    signals API stability and opens the project to Drupal Security
    Advisory coverage. 1.0.x is now bug-fix and security-patch only;
    new feature work moves to 1.1.x.