Knowledgebase



 Categories





 Dimofinf Mobile


Subscribe now to Dimofinf Mobile and enjoy a wide range of premium services. You will receive our SMS text messages wherever you are for a very low cost! More


 Currency Converter


  • Currency
  • US$ Amount

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?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

تعارض خدمة كلاودفلير مع IPv6 (Views: 239)

قم بالدخول علي حسابك لدي خدمة كلاودفلير بأتباع...


Can't update DNS through CloudFlare.com (Views: 3868)

When I login to my account in cloudflare.com then go to “DNS Settings” I was unable...



Online