Sam attached /Users/samaguiar/Downloads/aguiarinjurylawyers.com_unminified_javascript_and_css_files_20260614.csv and asked to fix it. The CSV had 54 findings across 50 pages, but only 4 unique resource URLs. Every finding was CSS in WP Rocket's locally hosted Google Fonts cache under wp-content/cache/fonts/1/google-fonts/css/.
Installed a narrow live mu-plugin on the verified Cloudways Flexible WordPress app at /home/1615235.cloudwaysapps.com/fctbkwwahp/public_html/wp-content/mu-plugins/sal-wp-rocket-font-css-minify.php.
The plugin hooks rocket_css_content and only minifies payloads that contain all three markers: @font-face, unicode-range, and /wp-content/cache/fonts/. This keeps normal theme, page, and plugin CSS out of scope.
A one-off helper minified the existing generated font CSS cache files immediately. It changed 9 files before WP Rocket/Object Cache settled the active cache folder down to 6 files.
Local staged files and evidence live under /Users/samaguiar/Documents/Projects/admin/scratch/wordpress-font-css-minify-2026-06-14/.
Live root verified: /home/1615235.cloudwaysapps.com/fctbkwwahp/public_html.
The server plugin passed php -l. WordPress-context wp eval confirmed the filter is registered and returns minified hosted-font CSS while preserving url(...) format(...) spacing.
Resource verification file: /Users/samaguiar/Documents/Projects/admin/scratch/wordpress-font-css-minify-2026-06-14/resource-verification.json.
All 4 unique CSV resource URLs returned HTTP 200, one-line CSS, and zero block comments after the targeted Cloudflare purge. Cloudflare purge response: /Users/samaguiar/Documents/Projects/admin/scratch/wordpress-font-css-minify-2026-06-14/cloudflare-purge-response.json.
Site health checks passed: sitemap endpoints returned 200, rewrite rules byte count was 23701, sitemap rewrite matches were 9, RankMath sitemap and video-sitemap modules are active, and authenticated REST returned 1 post.
Visual QA screenshots were captured with local Chrome for desktop and mobile samples: /abogado-louisville/, /about-us/, /locations/hopkinsville/, and /we-use-the-dot-database-to-find-crash-footage/. Contact sheet: /Users/samaguiar/Documents/Projects/admin/scratch/wordpress-font-css-minify-2026-06-14/visual-qa/contact-sheet.jpg.
Server backup: /home/1615235.cloudwaysapps.com/fctbkwwahp/public_html/wp-content/sal-backups/font-css-minify/20260613-225455.
Rollback steps: remove /wp-content/mu-plugins/sal-wp-rocket-font-css-minify.php, restore google-font-css-before.tgz from the backup folder if needed, run wp cache flush, then purge the affected Cloudflare CSS URLs.
The first server backup path attempted outside public_html failed due host permissions. No install happened during that attempt.
Uploading to /tmp with scp did not expose the file to the SSH shell as expected on this host. The successful path used direct SSH stdin transfer into the target file locations.