Automattic / Automattic/wp-super-cache

Reload the post cache when updating.

Open
#942 0 comments 0 reactions 0 assignees View on GitHub
[Plugin] Super Cache enhancement
Dominant language
PHP
Stars
436
Forks
130
Avg merge
15h 11m
Merged PRs (30d)
10

Description

Instead of deleting the cache when a post is updated (may harm a busy site), preload it (maybe in background) when updating.

Instead of deleting and then regenerating the cache (which leaves the page uncached for a small amount of time), preload the new cache in a temporary file then replace the older (so uncached time is 0)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how post updates currently delete and regenerate cached pages, then inspect the cache-writing and replacement paths. Define the preload and temporary-file behavior, including how background regeneration and replacement avoid an uncached interval. Done means updated posts replace the existing cache without first deleting it and busy-site behavior is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.