Special Offers
Live Help
Skype us
Our Facebook page
Follow Us On Twitter
Our Youtube Channel
Blog


 Client Area

Email Address:

Password:

 Remember Me

Forgotten Your Password?





Subscribe now in Dimofinf Mobile and enjoy the wide range of premium services. At a very small price, you will receive our SMS text messages wherever you are! More



  Add to Favourites Print this Article
AutoMinify: twice minify script layer and CloudFlare layer

What is AutoMinify?

The minification process shrinks the size of JavaScript and CSS files, this is done through removing any code which is unnecessary for the execution and loading of the files such as removing the comments, empty spaces …etc., so the file size becomes smaller and it loads and executes faster. This is usually done by many methods, the site coder can make the file on minification basis or through using a built in tool in the same script that do this function for all the JS and CSS files of the script and the plugins … etc.

AutoMinify feature from CloudFlare do this function for all JavaScript, CSS and also HTML files, with CloudFlare it is not needed that your script supports such feature, also you don’t need to modify any code to enable this feature, all you have to do is activating the feature in CloudFlare and choose the files you want to minify.


The problem of repeating the minification process one time by the script and another time by CloudFlare


Some sites before enabling the “AutoMinify” feature apply the minification process to JS and CSS files through a special script plugin, and when they enabled the “AutoMinify” feature they faced problems in executing these files.

On the other side other people did the same and didn’t have any problems. The problem occurs in some special and rare cases. So if you faced such problem you have two choices either disable the minification in the script or disable it in CloudFlare. 

Was this answer helpful?

Also Read