![]() |
Minify CSS
1 Attachment(s)
This Add-on minifies your CSS.
License This Add-on is based on the famous YUI Compressor and licensed under the BSD License. Copyright (c) 2009, Yahoo! Inc. All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of Yahoo! Inc. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. vBulletin Compatiblity vBulletin 3.7+ is required PHP 5+ is required Important Note To activate the minifcation, you must save the style after installing the product. In case your CSS is screwed up after using this product, just disable it and save the style again. |
Ahh I like the sound of this. Thanks! :)
|
I'll try it out. Looks promising.
|
strange, somewhere else, someone told it would be cumbersome to do that... i'm happy some brain acted on it and created it without listening others comments... lol
|
Quote:
|
Eh,you stole my idea ;),though mine is using custom code not YUI.
|
Andreas is a vb genius. WORD!
|
Newbie question:
What is the benefit of it exactly? |
genuis is a talent :D
|
Does this actually work? i would like to know more before i add this, can someone who has already added this give me some feedback please? does it increase speed?
|
It does not really increase speed,rather saves bandwidth as the size of the css is smaller.
|
Guys ! Rest assured, because anything from Andreas is quality.
His TMS is masterpiece, so I believe this mod will also have same positive feedback. Thanks |
What does this mod do?
|
Quote:
|
|
*Installs.
Now, how can I test that it's actually working? |
Quote:
If it's minified now and wasn't before -> it's working, if not -> it's not working. Simple, huh? ;) |
Quote:
|
No, just your CSS file.
Example for vBulletin.org style: https://vborg.vbsupport.ru/clientscr...ed00-00023.css This is not minified. If it was minified, you wouldn't see whitespaces. |
Quote:
I just did this instead |
Does YSLOW still work with this, or do you need to uninstall that?
|
Quote:
|
Quote:
|
Excellent work, VERY nice. <<installed>> :up:
|
Have error (While deleting or uploading a product)
Quote:
|
Quote:
Why don't you try standing upright and answering the question like a decent person rather than peppering questions with arrogance. And your logic is just as pathetic as your response as well... everyone should be entitled to performance enhancements regardless of their knowledge level. What ever happened to learning... oh, right... were too big for that nonsense! :rolleyes: |
installed and nominated. Gee this should be a default inclusion in the main branch.
|
Quote:
or should we use just one or the other? |
Worked like a charm, thanks!
|
nothing changed
however i like the idea I have my css on file the file did not change |
Have you saved your style after installing this modification?
|
installed on 3.8.2 but not working CSS same as before installing i saved style after installing but nothing changed in CSS
|
Quote:
|
ups sorry Its 3.8.2 . 3.8.3 writen by mistake
|
Are you on PHP 5?
|
Quote:
|
Quote:
|
Quote:
After update go to Main CSS at the bottom and Click Save. |
i did but all nothing change
|
Great mod, installed. However, I've noticed that its effect is only seen in auto-generated main CSS file, leaving vbulletin_important.css untouched. Looking at it, I can see it really needs minifying... Is it possible to include it as well in the minifying routine?
Regards, nohuhu. |
All times are GMT. The time now is 06:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|