[aur-dev] Some optimization patches
My apologies for splitting these changes into so many patches, but apparently the Arch mailman instance will not let anything larger than 40k though (and I got feedback that there is something amiss regarding the mailman setup -- this is here nor there though). These patches are mostly optimizations for content delivery. - merge css into fewer files to reduce number of files. this makes for faster end user delivery as there are fewer http requests (fewer tcp connections, whether the response is 200/ok or 304/not-modified). - created minimized versions of css. this reduced css size by 3.3K (24%) the originals are retained for ease of editing and reference - split out ie6 css into a separate file, and use 'conditional stylesheet inclusion' so that only ie6 fetches that stylesheet. - optimize logo png file -- this was a 22% (1K)
--- web/html/css/arch.css | 424 -------------------------- web/html/css/aur.css | 701 +++++++++++++++++++++++++++++++++++++++++++ web/html/css/containers.css | 188 ------------ web/html/css/fonts.css | 115 ------- 4 files changed, 701 insertions(+), 727 deletions(-) delete mode 100644 web/html/css/arch.css create mode 100644 web/html/css/aur.css delete mode 100644 web/html/css/containers.css delete mode 100644 web/html/css/fonts.css
--- web/html/css/aur.min.css | 148 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 148 insertions(+), 0 deletions(-) create mode 100644 web/html/css/aur.min.css
--- web/html/css/archnavbar/archnavbar.min.css | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 web/html/css/archnavbar/archnavbar.min.css
--- web/html/css/archnavbar/archnavbar.css | 6 +----- web/html/css/archnavbar/ie6.css | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 web/html/css/archnavbar/ie6.css
--- web/template/header.php | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
- savings of about 1K (22%) --- web/html/css/archnavbar/archlogo.png | Bin 4192 -> 3258 bytes 1 files changed, 0 insertions(+), 0 deletions(-)
- some html renderers work faster/better if you specify image dimensions to avoid reflow/repaits --- web/template/stats/updates_table.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
On Mon, Apr 4, 2011 at 2:20 PM, elij <elij.mx@gmail.com> wrote:
My apologies for splitting these changes into so many patches, but apparently the Arch mailman instance will not let anything larger than 40k though (and I got feedback that there is something amiss regarding the mailman setup -- this is here nor there though).
These patches are mostly optimizations for content delivery. - merge css into fewer files to reduce number of files. this makes for faster end user delivery as there are fewer http requests (fewer tcp connections, whether the response is 200/ok or 304/not-modified). - created minimized versions of css. this reduced css size by 3.3K (24%) the originals are retained for ease of editing and reference - split out ie6 css into a separate file, and use 'conditional stylesheet inclusion' so that only ie6 fetches that stylesheet. - optimize logo png file -- this was a 22% (1K)
So, it looks like mailman gobbled my patches _again_ (3rd time was not a charm), saying 'a non text attachment was scrubbed' when the patches *are* text files (patch.txt). At this point I am giving up on sending them via the mailing list. If someone wants the patches, let me know and I will send them a tarball or post them somewhere.
participants (1)
-
elij