lscache_wp icon indicating copy to clipboard operation
lscache_wp copied to clipboard

Exclude language slug from CCSS and UCSS

Open Tragio opened this issue 3 years ago • 0 comments

Hi,

Thank you for all the awesome work 🙏

I have this use case where we have 16 languages.

For example:

https://chaga.shop/en/products/ https://chaga.shop/pt/products/ https://chaga.shop/es/products/ https://chaga.shop/fr/products/ …

All are the same content, but LiteSpeed creates a separated UCSS and CCSS for each language slug. Every time we need to clear the cache we have more than 500 requests for UCSS/CCSS which takes a long time and also slows the website.

add_filter( 'litespeed_ucss_per_pagetype', '__return_true' ); helps a bit but would love to have a feature to exclude the language slug.

Report Number: RUTCFZCI Related Ticket: https://wordpress.org/support/topic/exclude-language-slug-from-ccss-and-ucss/

Really thank you 🙂

Tragio avatar Apr 28 '22 09:04 Tragio