Automattic / Automattic/jetpack

Feature Request: Custom Page Cache Storage Location

Open
#45,479 2 comments 0 reactions 0 assignees View on GitHub
[Plugin] Boost New Feature
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Boost

### What

I would like to set a custom location for the page cache created by the Boost plugin.

### How

**Presently**: Boost creates a _boots-cache_ directory in the _wp-content_ directory and stores all page cache in there.

**Want**: I would like to be able to set a custom location for the page cache directory created by the Boost plugin; either via the admin interface, or _wp-config.php_.

**Why**: I am hosting my WordPress website on a Linux VM which has fast temporary storage. The temporary storage is limited in size, because it is part of the storage drive of the host system, but it is much faster than the persistent storage. In addition, the temporary storage is free and billable IOPs do not count towards it.

**Workaround**: For the time being I have created a boost-cache symlink, in wp-content, pointing to a directory on the temporary/fast drive.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Boost plugin code that creates the boots-cache directory under wp-content, then inspect its admin interface and wp-config.php handling. Done means the page-cache location can be configured through one supported path and caching still works when the directory is on temporary storage.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.