Dear Miles, your post in your blog is he best as a starting point.

But, really I prefer to follow the firebug advices where they prefer
to minimize the number of style sheets and the number of javascript
files, and they also prefer to make gzipped whenever possible
(currently most of the browsers accept it and it is easy to do it on
the server side), and they prefer to allow browser (which allows
caching) to store a cached version, and many other advices

yes I code the css and js globally, but unfortunately sometimes I fail
to include their links in the head section without doing some hacking/
work around... and everything is fine right now. I founded the
problems when linking to javascript/css inside every element in the
layout (not the view) and plugins.

We should be aware to include the copyright of each individual
javascript/css file especially when concatenating the minified
javascript files into a single file.
On Oct 4, 1:37 am, Miles J <mileswjohn...@gmail.com> wrote:
> @robust - Thanks for the link plug :]
>
> Talking more about your point of "concatenation". I personally am
> against it, mainly because certain pages use certain stylesheets. So
> if you join all stylesheets into one, some of the stylesheets that
> dont belong in a certain page may overwrite CSS that you do not want.
> However, that wouldnt happen with JS or if you code CSS to be global.
>
> On Oct 3, 12:37 pm, robust solution <i...@robustsolution.net> wrote:
>
>
>
> > Dear Davit Barbakadze,
> > I think none of the suggested solutions for this problem is fair
> > enough
> > because the solution should do the following
> > -all the css links in the head section should be concatenated and
> > minified into a single file then gzipped then cached on the server
> > -the same for the js links of the head section
>
> > i prefer that you do this on your own if you have enough time... just
> > few hours... you ill learn something new
> > you can start with this 
> > linkhttp://www.milesj.me/blog/read/32/CSSJSAsset-Compression-In-CakePHP- 
> > Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to