litespeedtech / litespeedtech/lscache_wp
UCSS Not Pulling CSS
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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