litespeedtech / litespeedtech/lscache_wp

Combine css and @import font

Open
#381 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
257
Forks
123
PR merge metrics
No merged PRs in 30d

Description

Hello,
when we use css combine, @import rules are not move to the top of the file. Therefore, @import rules not working and font not appear on website.
Is it possible to move @import to the top of generated css file ?
Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce CSS combining with a stylesheet that contains an @import rule, then trace the code that generates the combined CSS output. Verify that imported rules are placed at the top of the generated file and that the referenced font loads on the site.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.