Automattic / Automattic/wp-super-cache

Scheduler for Preload [feature request]

Open
#912 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

Create an option to set the Preload using a scheduler similar to the one that is available for scheduling garbage collection.

Preloading all of a site takes time, and the time for the next preload is set to start xxxx amount of minutes after the last one _finished_. Sometimes it takes longer than other times to complete. If I set it to preload – for example – every 1440 minutes, the start time will creep ahead a little bit each day. What started in the middle of the night, for example, will eventually end up running in mid-morning sometime.

It would be great if users had the option to run the preloading every day or every week, etc, starting at a particular time instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing scheduler used for garbage collection and compare its behavior with the current preload timing described in the issue. Determine how a recurring daily or weekly schedule with a fixed start time should interact with preload completion; done means users can configure that schedule and preloads no longer drift based on completion time.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.