Welcome! Log In Create A New Profile

Advanced

Re: [PATCH 1 of 3] CSS as file.

Liam Crilly via nginx-devel
August 04, 2023 11:50AM
Hi Maxim,

Thanks for your response (to all three changesets). I will follow up on this after the summer vacation season.

Cheers,
Liam.


_____
From: nginx-devel <nginx-devel-bounces@nginx.org> on behalf of Maxim Dounin <mdounin@mdounin.ru>
Sent: 02 August 2023 18:37
To: Liam Crilly via nginx-devel <nginx-devel@nginx.org>
Subject: Re: [PATCH 1 of 3] CSS as file.

EXTERNAL MAIL: nginx-devel-bounces@nginx.org

Hello!

On Mon, Jul 24, 2023 at 02:23:12PM +0000, Liam Crilly via nginx-devel wrote:

> # HG changeset patch
> # User Liam Crilly <liam.crilly@nginx.com>
> # Date 1690207197 -3600
> # Mon Jul 24 14:59:57 2023 +0100
> # Node ID df1cf98cf8f50eb1770d966aed583d21e481558b
> # Parent 1f672755959a64aec3f0aeceab1dbdc13cb36414
> CSS as file.
>
> Extracts the inline styles from style.xsls into separate files for
> ease of style-development and to take advantage of browser caching.
> Hebrew and Chinese variants are preserved.
>
> Stylesheets are located in a new top-level directory (/css) and are
> compressed during the gzip process.

Thanks, but no.

This change results in 4 distinct static language-specific CSS
files, with no obvious way to keep them in sync. At the same
time, claimed benefits does not seem to be noticeable, in
particular:

- Surely styles can be developed in any convenient way, and
results merged into xsls/style.xsls;

- Styles now are about 800 bytes gzipped, and this is hardly
noticeable neither for small pages like index.html (2.7k gzipped
original, 1.9k gzipped with patch), nor large pages like
ngx_http_core_module.html (24k gzipped), and hardly justifies a
separate request.

Overall, I think that this change will result in more complex
support and the same or worse site performance, and therefore
I'm against this change.

[...]

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 0 of 3] nginx.org usability enhancements

Liam Crilly via nginx-devel 368 July 24, 2023 10:22AM

[PATCH 1 of 3] CSS as file.

Liam Crilly via nginx-devel 114 July 24, 2023 10:24AM

[PATCH 2 of 3] Responsive menu.

Liam Crilly via nginx-devel 121 July 24, 2023 10:26AM

[PATCH 3 of 3] Stylesheet style changes.

Liam Crilly via nginx-devel 112 July 24, 2023 10:28AM

Re: [PATCH 3 of 3] Stylesheet style changes.

Maxim Dounin 107 August 02, 2023 01:38PM

Re: [PATCH 2 of 3] Responsive menu.

Maxim Dounin 106 August 02, 2023 01:38PM

Re: [PATCH 1 of 3] CSS as file.

Maxim Dounin 99 August 02, 2023 01:38PM

Re: [PATCH 1 of 3] CSS as file.

Liam Crilly via nginx-devel 151 August 04, 2023 11:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 262
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready