Skip to content

Upload WP Rocket Cache via Stateless or create Persistent Volume #2641

Open
@curtismchale

Description

@curtismchale

Builds

Issue

Currently we use WP Rocket to cache files, which does affect our CSS/JS files and they should be found in a /cache folder on each pod. Sometimes when a pod restarts the files are not regenerated which leaves the site showing without styles.

We already try to preload wp rocket when a pod restarts but that doesn't seem to always work.

We've looked at this previously which resulted in a question out to WP Stateless about moving the cached directory to the Stateless storage location and then making sure that all requests to wp-content/cache are redirected to that location.

We can also look at setting up a Persistent Volume for cache requests inside k8s so that the cache files are not stored on individual pods but share across all the pods and thus need to be generated once.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions