Automattic / Automattic/wp-super-cache

Option to only delete cache of file being changed.

Open
#948 5 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

This is a feature request. Would it be possible to have an option to _only_ delete the cache of the page/post that has been updated?

The "Clear all cache files when a post or page is published or updated." is all or nothing. Does it have to be?

If you create a new post/page, there is no cache for that anyway. Thus it makes sense to only delete the cache of a page that is updated/edited, leaving the rest of the cached pages in tact.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is identified in the issue. Begin by tracing how publishing or updating a post currently triggers the “clear all cache files” setting; done means an option clears only the changed page or post cache while preserving other cached pages, with coverage for updates and new posts.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.