Answer the question
In order to leave comments, you need to log in
Why is css not compressed in Bitrix?
Hello. There is a site on Bitrix, without a license. In the module settings, all css/js compression checkboxes are checked. I add styles like this:
$APPLICATION->SetAdditionalCSS(SITE_TEMPLATE_PATH.'/css/account.css');
Answer the question
In order to leave comments, you need to log in
As far as I remember, these checkboxes are responsible for connecting min versions. That is, if there is an account.min.css file in the css folder and the option to include minified css is enabled. Then it will connect the min version, if there is no min version, it will connect the normal one. The same goes for js scripts.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question