مكتبة الشروحات



 تصنيفات المكتبة





 جوال ديموفنف


اشترك الآن في موبايل ديموفنف واستمتع بعالم جديد من الخدمات المتميزة وبسعر رمزي تصلك رسائلنا على موبايلك أينما كنت . تفاصيل


 محول العملات


  • العملة
  • المبلغ بالدولار

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. 


هل كانت المقالة مفيدة ؟

أضفة للمفضلة أضفة للمفضلة    طباعة طباعة

اقرأ أيضاً :

Can't update DNS through CloudFlare.com (الزيارات: 2476)

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




Online