abp icon indicating copy to clipboard operation
abp copied to clipboard

CMS-Kit: Serve scripts and styles minified

Open nebula2 opened this issue 11 months ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

Just so save some traffic. In most scenarios this should not have much of an impact because global scripts/ styles and also page/ blog specific ones should not contain such an amount that it matters - but anyway.

Describe the solution you'd like

Option a: minified styles and scripts are saved along with what the user edits and is held in sync upon create/ update. public site then serves the minified versions. Option b: a button to minify styles/scripts which then replaces the content of the current fields. Would maybe need some "un-minification" so that the content stays maintainable

Additional context

No response

nebula2 avatar Mar 03 '24 07:03 nebula2