litespeedtech / litespeedtech/lscache_wp

UCSS Not Pulling CSS

Open
#353 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
257
Forks
123
PR merge metrics
No merged PRs in 30d

Description

Hello, I just installed LiteSpeed Cache v4.0 to try the Generate Unused CSS feature. When I enable Combine CSS and then Generate UCSS, my website breaks. I checked the source code and the CSS file that is generated does not have any CSS in it. When I disable Generate CSS and keep Combine CSS enabled, the site works again. It seems as though the Generate CSS feature is removing all of my CSS files, and creating a new CSS file that does not have any of the used CSS code in it, as if it thinks all of the CSS is unused for some reason.

Please advise.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the issue with LiteSpeed Cache v4.0, Combine CSS enabled, and Generate UCSS enabled. Inspect the generated CSS and compare it with the site's source stylesheets; done means UCSS retains the used CSS and the site continues to render correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
performance, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.