I would like to know way to compress or minimize CSS and JS and what does this import function work exactly do <style type="text/css"> @import url("import1.css"); @import url "import2.css"; </style> Thanks
Although it is possible to minimize CSS or JS, remember that they are teeny tiny text files, and they barely take up any space at all when compared to even the smallest images on your site. The sacrifice you make when compressing these files is that they are no able to be read easily and you will have to maintain 2 copies of the file, the original which you will use to edit, and the compressed version you keep online. The hassle for deploying a compressed file and maintaining to two copies isn't worth the effort unless you are running a MASSIVE site with millions of daily visits, and even then, it will amount still to only the smallest fraction of bandwidth copmared to the rest of your content.