Pentiums Posted January 21, 2011 Report Share Posted January 21, 2011 http://tools.niknais.lv/cssopt/ Quote Link to comment Share on other sites More sharing options...
marcis Posted January 21, 2011 Report Share Posted January 21, 2011 http://www.cssdrive.com/index.php/main/csscompressor Quote Link to comment Share on other sites More sharing options...
Ecchi Posted January 22, 2011 Report Share Posted January 22, 2011 Nice. Quote Link to comment Share on other sites More sharing options...
KarlisBa Posted January 22, 2011 Report Share Posted January 22, 2011 Īsu CSS kodu, kurā nav neviens komentārs, tikai CSS elementi, Pentiums variants no 2,01KB pārtaisa uz 1,61KB, bet marcis variants 2,01KB pārtaisa uz 1,58KB. Quote Link to comment Share on other sites More sharing options...
briedis Posted January 22, 2011 Report Share Posted January 22, 2011 http://www.cssdrive.com/index.php/main/csscompressor Manus lielo css 47.4 KB saspieda uz 36.7 KB. Neredzu pilnīgi nekādu tolku no CSS kompresēšanās... Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 22, 2011 Report Share Posted January 22, 2011 Manus lielo css 47.4 KB saspieda uz 36.7 KB. Neredzu pilnīgi nekādu tolku no CSS kompresēšanās... Nu uz klienta datora mazāk kods sutīsies. Vai tad nē? =/ P.S. Var uz servera turēt gan style.css, gan style.min.css, bet pieprasīt style.min.css. =P Quote Link to comment Share on other sites More sharing options...
nemec Posted January 23, 2011 Report Share Posted January 23, 2011 Kāpēc tādiem mērķiem nelietot http://developer.yahoo.com/yui/compressor/ (ar komandu "yui-compressor -o min.css nekompresets.css") Man, kā griezējam, ir uzrakstīts elementārs skripts, kas no sagrieztā index.html nolasa css stilus, tad ar komandu cat salīmē kopā un ar yui-compressoru sakompresē. Varbūt varētu pilnveidot tādā veidā: Ievadu savas mājas lapas saiti. Tad tas izanalizē/sakompresē un pasaka - tu vari ietaupīt 6% uz css, 10% uz js - un izmet saites uz sakompresētām datnēm. Quote Link to comment Share on other sites More sharing options...
mad182 Posted March 10, 2011 Report Share Posted March 10, 2011 http://www.cssdrive.com/index.php/main/csscompressor Original size: 24552 bytes Compressed size: 25308 bytes Savings: -756 bytes (-3%) :D Quote Link to comment Share on other sites More sharing options...
labaiss Posted March 10, 2011 Report Share Posted March 10, 2011 (edited) Oho -labs rādītājs - ko tad tur pieliek klāt? parastām lapām neredzu nekādu jēgu to darīt - nav jau vairs iezvanu pieejas laiks un tad kad kaut ko.... Piekrītu - ja tā ir milzīga WEB app, kur katru daļu veido&uzlabo atsevišķi un ir lieli CSS kurus saspiež, kaut gan cik lieli viņi vispār var būt.... Edited March 10, 2011 by labaiss Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.