For HTML outputs, Paligo has a Minify assets feature that will remove any unnecessary characters from Paligo's CSS and JavaScript files. The minification process makes the script files more efficient, and can improve load times by reducing the traffic between the server and clients.
The minification process can change the names of variables used in the Paligo scripts. So if you have created custom CSS or JS files that reference the variables in a Paligo script, you may need to disable the Minify Assets feature.
Note
The minification does not apply to any custom CSS or JavaScript files that you upload to the HTML5 layout.
The Minify assets feature is disabled by default, but you can enable it on the HTML layout.
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select CSS, JS, logos and other assets in the sidebar.
-
Scroll down to Minify assets and set it to:
-
Enable to activate minification that makes the script files more efficient and improves page load speeds (and SEO).
-
Disable to turn it off. Default
-
-
Select Save.
Comments
0 comments
Article is closed for comments.