Compressing JavaScript and CSS on The Fly(www.codecapers.com)

submitted by mceranskimceranski(345) 2 years ago

One of my favorite features of BlogEngine.NET is that it compresses JavaScript and CSS on the fly. Traditionally, most people run their css and js files through a minifier before they deploy code to production. Minifiers effectively strip out white space and comments so you can reduce the size of your files. By compressing these files you will reduce the size of each page request without impacting the functionality. Although minifiers are great, they do represent an extra step that you have to take each and every time you deploy your code. Of course, you can automate the process by using post-build events in your IDE or by developing some scripts. However, the process I am about to show you will require zero effort on your part once implemented.

add a comment |category: |Views: 11

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story