lscache_wp
lscache_wp copied to clipboard
Exclude language slug from CCSS and UCSS
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 🙂