humanmade / humanmade/longcache

Longcache should purge site cache when custom CSS is updated

Open
#1 8 comments 0 reactions 1 assignee Claimed by @jacklenox View on GitHub
Dominant language
PHP
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Our client has reported that when updating a site's Custom CSS. They incorrectly interpret this as updating a page. However, the default behaviour of Longcache probably should include a site purge when Custom CSS has been updated.

It has been many a year since I've touched anything related to Custom CSS, but it looks as though [this hook](https://developer.wordpress.org/reference/hooks/update_custom_css_data/) is the best way to achieve this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.