Repository navigation
PDF Lazy Loader 1.3.0
- Server-side Turnstile verification (optional, Settings → Cloudflare Turnstile → Server-side verification): REST endpoint
POST /wp-json/pdf-lazy-loader/v1/verifyvalidates the token with Cloudflaresiteverify(single-use, actionpdf_view, hostname check) and only then returns the PDF URLs - In server mode the HTML contains an AES-256-GCM sealed reference (
data-pll-ref) instead of the XOR-obfuscated URL; download URL is released the same way; RESTwp/v2output is sealed too - Stateless: no DB writes, full-page cache compatible; forged refs rejected before any outbound call; one token unlocks all PDFs on the page; optional rate limit with persistent object cache
Server-Timingheader on the endpoint for latency diagnostics- Viewer assets download in parallel with the Turnstile challenge
- Secret Key is no longer printed back into the settings form (empty field keeps the stored key)
Full Changelog: v1.2.1...v1.3.0