This is a discussion on "CSS Compression" within the Web Page Design section. This forum, and the thread "CSS Compression are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS Compression
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
CSS Compression
Hi All,
I have just spent the last few hours trying to figure out how to optimise my css server side every time the page is called, and i think ive finally got it working. however does anyone know the benefits and speed of doing it manually (removing whitespace, tabs and carriage returns) or having a script do it for you server side? |
|
|
|
||||
|
Re: CSS Compression
Generally i don't see the point in trying to compress around 7kb of data to 4kb of data. It really seems negligable to me.
|
|
|||
|
Re: CSS Compression
it has the benefit of not being easy to read, and also when dealing with mobile content is best to break it down as much as possible.
so instead of seeing:
|
|
|||
|
Re: CSS Compression
its something that ive seen google do, and when it comes to mobile content even a few kb can save time and money.
http://www.google.com/ig/mobile |
|
||||
|
Re: CSS Compression
From what I can see, thats just inline CSS, there's no style sheet being called :s
|
|
||||
|
Re: CSS Compression
Quote:
|
|
|||
|
Re: CSS Compression
Quote:
|
|
|||
|
Re: CSS Compression
yep thats the conclusion i came to. nice waste of an afternoon
|
![]() |
| Tags |
| php compression |
| Thread Tools | |
|
|