litespeedtech / litespeedtech/lscache_wp

Allow hooking to related-pages purge events

Open
#615 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
257
Forks
123
PR merge metrics
No merged PRs in 30d

Description

The `litespeed_api_purge_post` allows hooking to post purges.

But, dependent on settings, when a post is purged, other pages might be purged as well (front page, blog page, etc.).

There is currently no way to hook to the purge events of these related purges.

Maybe a new hook can be introduced.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the litespeed_api_purge_post hook and the code paths that purge related pages such as the front page or blog page. Determine the intended hook timing and payload for those related purge events; done means consumers can reliably hook each related purge without changing existing post-purge behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.