How to Minify My website css manually? RRS feed

  • Question

  • User-1186139896 posted

    Hello, I would like to minify My website CSS because my site is getting very slow and the GT matrix shows suggest me to minify your website CSS, So anyone here who know how we can minify CSS quickly please let me know.

    Sunday, August 4, 2019 8:59 AM

All replies

  • User665608656 posted

    Hi Zafar,

    According to your description, minify is mainly the process of removing unnecessary spaces and characters from the code.

    If you delete those things that are not necessary to run the code, it will make your files lighter, so as to improve the loading time of your page.

    Minify your CSS file, you have two options.

    First, manually shrink. If you have a lot of code, it will be a huge project and it is not recommended.

    Second, you can use online tools to minify your files, cssminifier is a good choice.

    You could refer to this link for this tool : https://cssminifier.com/

    Hope this will help you.

    Best Regards,


    Monday, August 5, 2019 6:01 AM
  • User753101303 posted


    Also this kind of toll provides a first view but you may want to investigate a bit further and in particular on the server side to see if this is really just this change that will provide the biggest win. Instead maybe you are loading much more data than really needed?

    Monday, August 5, 2019 7:20 AM