Agent skill · software engineering · aiskillstore

siteground-cache

Bypass SiteGround caching (SG CachePress + LiteSpeed) for WordPress development. Adds cache-busting code to child themes for real-time development testing.

Why this skill is useful

Adds specific PHP snippets for bypassing SiteGround caching that are not commonly known or documented.

What it needs

About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

SiteGround Cache Buster Skill Bypass SiteGround caching (SG CachePress + LiteSpeed) for WordPress development. Adds cache-busting code to child themes for real-time development testing. --- ⛔ CRITICAL: STAGING ONLY - NEVER PRODUCTION Claude is FORBIDDEN from deploying to production sites. Action Allowed? -------- ---------- Deploy to staging ✅ YES Deploy to production ❌ ABSOLUTELY NEVER Read from production ✅ YES (read-only) Write to production ❌ ABSOLUTELY NEVER If user asks to deploy to production: 1. REFUSE the request 2. Explain that production deployments must be done manually by the user 3. Offer to deploy to staging instead Production paths are BLOCKED. Any path that does NOT contain "staging" is off-limits for writes. --- Required Information Before using this skill, Claude will ask for: 1. FTP/SFTP Credentials Hostname (e.g., ftp.example.com) Username Password Port (usually 21 for FTP, 22 for SFTP) 2. Site URLs Staging URL (e.g., https://staging.example.com) ~~Production URL~~ (NOT needed - Claude won't deploy there) 3. Theme Path Child theme folder name (e.g., theme-child) Store credentials in project's CLAUDE.local.md (gitignored) for future sessions. --- Staging-Only Workflow Claude handles: Local editing + Staging deployment User handles: Production deployment (via SiteGround, FTP client, or manually) --- What It Does 1. Disables server-side caching for admins - LiteSpeed Cache + SG CachePress 2. Adds no-cache headers - Prevents CDN/proxy caching 3. Busts browser cache - Adds timestamp to CSS/JS URLs 4. Shows version banner - Visual confirmation theme is loading (admin only) --- The Code PHP Snippet (add to functions.php) --- Usage Method 1: Auto-inject via Script Method 2: Manual Copy 1. Copy the PHP code above 2. Paste at the end of your child theme's functions.php 3. Upload via FTP TO STAGING ONLY 4. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/siteground-cache

View the source on GitHub

Browse the @skills marketplace