wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

3.17 - Data clearing UI rework - DUPLICATE 6845

Open piotrbak opened this issue 6 months ago • 0 comments

Description

We'll rework how the data is cleared for RUCSS, OCI and LRC.

Remove Unused CSS displayed only when RUCSS is enabled

  • Clear Used CSS will be renamed to the Clear RUCSS optimizations in the top menu
  • Clear RUCSS optimizations button from the top menu will clear only Used CSS data (and cache), no matter what's enabled
  • Clear RUCSS optimizations of this URL when visiting frontend URL will clear only Used CSS data (and cache) of this URL, no matter what's enabled
  • In the Quick Actions settings Remove Used CSS Cache section will be renamed to Remove Unused CSS
  • In the Quick Actions settings Clear Used CSS button will be renamed to Clear RUCSS optimizations
  • The following green success notice will be displayed after the full cleanup WP Rocket: Remove Unused CSS optimization data was cleared! (changed from WP Rocket: Used CSS cache cleared!)
  • In File Optimtization > CSS Files > Optimize CSS delivery
    • Rename button Remove Unused CSS to Remove Unused CSS (RUCSS)

Clear performance hints data displayed only when at least one of the beacon features is enabled

  • Clear Performance Hints data button will be added to the top menu. It'll clear the OCI, LRC data and the cache. It'll not be displayed when both of the features are disabled. It'll also trigger the prewarmup if the user can use it
  • In the Quick Actions settings we'll introduce new section called Performance Hints.
  • In the Quick Actions settings in the Performance Hints section we'll add the button with label Clear. It'll clear the OCI, LRC data and the cache. It'll trigger the prewarmup if the user can use it. We'll display the following text on the hover action: This action will clear data for Optimize Critical Images and Lazy Render Content.
  • Clear performance hints data of this URL when visiting frontend URL will clear OCI, LRC data (and cache) of this URL, no matter what's enabled
  • The following green success notice will be displayed after the full cleanup WP Rocket: Critical images and Lazy Render data was cleared!

General

  • All the data will be completely cleared when changing permalinks and switching the theme
  • Updating the post will clear all the data (Used CSS, OCI, LRC and the cache) for mobiles and desktops

piotrbak avatar Aug 05 '24 14:08 piotrbak