litespeedtech / litespeedtech/lscache_wp

FacetWP does not show when HTML Minify is enabled

Open
#316 0 comments 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

Hi, I have output a FacetWP like so in a taxonomy category template:

``

When HTML Minify is enabled the Facet does not show any categories, I think this is because HTML minify is stripping out the required comment from FacetWP:

``

Is there anyway to exclude it from being stripped out?

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 in the taxonomy category template with the FacetWP shortcode while HTML Minify is enabled. Trace how HTML Minify handles the `` comment; done means the FacetWP categories still appear without disabling minification.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
performance, web-dev
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.