can any one help me in getting php class to min js and css codes
I'm looking for a php class that can minify js and css code. thanks ...
I'm looking for a php class that can minify js and css code. thanks ...
I would like to use the JQuery slider for my mobile application http://docs.jquery.com/UI/Slider However, using the Slider plugin, requires me to use the entire JQuery core (29kb) + Slider plugin (6kb). Typically, that's okay but for a mobile application - that's a lot of data. Question: Anyway I can use the JQuery Slider and elimina...
Hi Guys, Interested how others are organising their scripts in Visual Studio ? Currently, the project I am working on has a large number of scripts and getting confused how to organise them into an arrangement without something like <% if (Helper.IsDebug()) { %> <%=SOME SCRIPT%> <% } %> <% if (Helper.IsRelease) { %> <%=SOME SCRIPT%> ...
Should we test the minified versions of our javascript files as we develop them, or is it an extremely low risk that the minified javascript does not differ in function from the un-minified version? ...
I'm currently migrating a project to Visual Studio 2010 and am trying to figure out how to minify JS and CSS files individually on build. In Visual Studio 2008 I used a Web Deployment Projects with a build task that referenced the C# port of the YUI Compressor. In Visual Studio 2010 Web Deployment Projects seem to have been integrated ...
Hi, I am working on a project where I am in charge of html, css and javascript. I found this maven-minify-plugin that seemed to just what I wanted. Everything is good when I deploy using maven on the server, but when I am using Eclipse (STS, www.springsource.com/products/sts) to run the project on localhost no css nor js file is genera...
I've found several javascript minify tools however they do something weird with open and close braces, even though ActionScript is based on ECMAScript it doesn't seem to work. Wondering if anyone knows of an actionscript3 minifier that I could use. Anyone? ...
Hello, I've an issue with the fantastic RaphaelJs lib. It doesn't work on IE (8 and 7) if I use the minify version. It works of with the dev version. An error is raised on paper = Raphael("canvas", 100, 100); Any idea what can be wrong? Thanks in advance ...
Possible Duplicate: Why minify assets and not the markup? I have seen a lot of sites using minified CSS and JavaScript to increase website response time but I have never seen any sites use minified HTML. Why would you not want your HTML to be minified? ...
I just ran across this point that references a security vulnerability in Web Apps that depends on looking at the size of encrypted web pages to deduce what the uses is doing. The simplest solution to this I can think of would be to use a tool to minify all static content so that (after encryption) only a small number of result sizes exis...
Is there some valid purpose to minifying before compressing? It seems highly unlikely that the gzipped file is smaller if it's minified first. I ask because diagnosing production problems in minified code is substantially more difficult, and I'm wondering if people are subjecting themselves to that for no purpose. ...
My Website is built on Wordpress, now I want a plugin or tool to minify all my CSS and JS scripts to one. What is the best known plugin for this ? ...
I want my scripts and css files to be added in the footer and header respectively, ideally they should be minimized and compressed too, I think these functions can help but iI am not aware of using them. can anybody help me with these ? wp_print_scripts, wp_enque_scripts, wp_head, wp_register_script ...
Hi, I am using Google Minify and I want a timestamped URI. The readme.txt suggests this: <link rel="stylesheet" type="text/css" href="<?php echo Minify_groupUri('css'); ?>" /> <script type="text/javascript" src="<?php echo Minify_groupUri('js'); ?>"></script> but it also says: 'Before including this file, /min/lib must be in your in...
I am looking to see if there is an open source/free project that provides a CSS manager. I am looking for this mainly for performance tweaking and hoping there is a readymade project rather than building from scratch. Features I am looking for include: Combines multiple .css files into a single css file Optionally minifies the resulti...
Hi Guys, Tried searching around for a complete library for HTML Minification in C# but haven't been able to locate anything that is useful ? Does anyone here have such a library or know of one ? ...
When i request a page using browser / AJAX request i see lot of spaces and newlines which i think must be adding some overhead for retrieving the response as they too belong to characters means bytes and size. right ? Is there some way it can be removed while sending from the server ? how ? (I am using IIS and asp.net for development) ...
I have a great deal of javascript that needs to be min'd before being served to the end user. Currently, I'm using JSMIN, but I'd like to switch to something a bit more powerful (such as something with local variable replacement). I'm currently looking at YUI min developed by yahoo, and it got me thinking about the min tool that jquery...
When dealing with websites with large amount of javascript, i see that these are still usually served to the client as one large javascript file. In the development phase, are the javascript files usually split up (say there are >300 lines of js) to make things abit more manageable, and then merged when the website is 'put live'? Or do ...
I'm looking into different ways to minify my javascript code including the regular JSMin, Packer, and YUI solutions. I'm really interested in the new Google Closure Compiler, as it looks exceptionally powerful. I noticed that Dean Edwards packer has a feature to exclude lines of code that start with three semicolons. This is handy to e...