Re: [Cppcms-users] combining all js and css requests in a single file
Brought to you by:
artyom-beilis
From: Aris S. <ari...@gm...> - 2010-12-16 10:22:09
|
> First of all, as far as I understand you can just use some css/javascript > compressor > and use it instead of ordinary file. And probably specialized compressors would > do a good job. thanks >> How about combining small images so we can access it with css sprite? > Isn't it what HTTP-Keep-Alive and for? > > Also HTTP/1.1 allows you to send several requests for different images without > waiting for completion of downloading first one. Isn't it better? I read from some browsing, they are optimally used in 4 parallel request because of DNS look up time. If the images small enough to combine, it will give me more alternative. I think I need some test. By the way, how many a [maximum] size of an http response? How to check it? I use firefox firebug plugin, and no information about it. > Generally most web servers know to serve > static files a way better than any framework I know for a simple reason - this > is what they are benchmarked against most often. They use best OS API like > sendfile or others to do the job done. I'm not sure how much would it > give you to push such thing in framework, also how exactly can you combine > serveral > images in single request? I think about small, less static, same size, related images, such as image profile in social web and try another alternative to pull them with combining and maybe caching. I can use libgd. |