Feature Request: Custom Page Cache Storage Location

Open
#45,479 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

[Plugin] Boost New Feature
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.

Dominant language
PHP
Stars
1.9k
Forks
913
Avg merge
1d 18h
Merged PRs (30d)
809

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/jetpack

All issues in Automattic/jetpack

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.