JS & CSS compression and editing plug-ins under Visual Studio

Source: Internet
Author: User
Tags website performance

Let me first explain that this is just one of my ideas and has not been implemented yet.

 

JS compression? CSS compression?

We have heard of this. js compression and CSS compression are essential for a mature website and a good way to improve website performance.

 

However, how to edit the compressed JS and CSS?

Okay, you can use an editor that supports automatic JavaScript or CSS formatting to restore it...

Then, compress after editing...

 

Don't you think it's troublesome?

 

Solutions under Visual Studio

First look at a picture:

 

What is this?

A. JS File

Nana ?...

It can be expanded like An ASPX file!

There is also a file. js. source associated with it!

 

Yes, according to my idea, there will be two files in the folder:. js and. js. Source.

When editing in Vs, edit the. js. source file. Each time it is saved, it will be automatically compressed and put into the. js file.

 

REFERENCE The. js file on the webpage ~

 

CSS can also be implemented in the same way

 

Seek partners

Younger brother is not talented and doesn't understand vs plug-in development. The above is just an assumption. Which of the following friends are willing to cooperate? Let's make such a vs plug-in together?

In addition, if you want to do this separately, contact me ~ After all, creativity also has intellectual property rights ~ I just need to refer to my blog ~

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.