litespeedtech / litespeedtech/lscache_wp

UCSS Allow List Not Working

Open
#458 1 comment 1 reaction 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

We've tried to follow this tutorial to include CSS Selectors that are affecting user experience when interacting with webpages but it seems like it's not working. The whitelisted selectors are not being loaded. https://docs.litespeedtech.com/lscache/lscwp/pageopt/#ucss-allowlist

What could be the potential reasons behind this? We've tried as much as possible to use the right selectors.

May be this might help? But there's no instructions how to configure it. Do we paste the selectors there?
https://docs.litespeedtech.com/lscache/lscwp/pageopt/#critical-css-rules

We've also tried to do a comparison of the CSS as explained here so that know what to whitelist but still found out that the Allow List is not including the CSS rules for the selectors.
https://blog.litespeedtech.com/2021/12/13/fix-incomplete-ucss/

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 with the UCSS Allowlist and Critical CSS Rules sections in the linked documentation, then reproduce the CSS comparison described in the linked blog post. Done requires a documented, reproducible explanation of why the allow list is not loading the specified CSS rules and clear configuration guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, php
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.