Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Compacing css and js to one file ?

More
IP: 217.254.104.146 9 years 2 months ago #4840 by marcin7
hello,

I have currently on my website multiple instances of LNEP. Each instance generated and include one css and one js file.
Is there is any change to have a feature that all css file be merged during generation just to one file ? The same of JS ?

thanks in advance
Martin
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 24.185.113.161 9 years 2 months ago #4841 by syw
Hello Martin,

this is not something that can be done at the module 'level'. Modules are independent from each other.
This compilation would require an additional plugin that 'intercepts' all CSS and JS files in order to compile them into one CSS and one JS file.
Such plugin already exists, you could use the excellent plugin JCH Optimize for instance for this task.

Olivier.
The following user(s) said Thank You: marcin7