From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 370311F5CB; Thu, 26 Sep 2024 00:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1727312106; bh=52Au8A7sqJBgwotsONIhQ9fTC0/YcsKeu4TMYUdLZdQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=La1wcqm8Ksz9gSp16HUPE2JRDCFRJOPr5Pka3KcX5JQ5BCnnwblgvCWkI8aWJ6Q2I p3t2g0Ps5Wjp7hLIttvAwM40lOlNxE1stA20x6QKJk+nxYJhq5m2PHN0oH1CN+LDKO hpIxPRbtgkLTsfChVBI+seWfQpBoCfsgsf8MSTlo= From: Eric Wong To: meta@public-inbox.org Cc: "Robin H. Johnson" Subject: [PATCH 0/5] css improvements (hopefully) Date: Thu, 26 Sep 2024 00:55:00 +0000 Message-ID: <20240926005506.3703216-1-e@80x24.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 1 and 2 are simple cleanups and an optimization to make the resulting strace more pleasant. 3 and 4 should address Robin's bug report but it requires setting the `load=import' attribute (see manpage update) mtime in 5 is something that we should've been doing all along. Eric Wong (5): user_content: simplify internal API and use v5.12 www: don't reread CSS files www: load CSS files in same dir if @import is in use www: allow specifying CSS @import or tags www: use mtime as CSS cache-buster instead of ctime Documentation/public-inbox-config.pod | 18 ++-- lib/PublicInbox/UserContent.pm | 30 ++++--- lib/PublicInbox/WWW.pm | 122 ++++++++++++++++++++------ lib/PublicInbox/WwwText.pm | 6 +- 4 files changed, 124 insertions(+), 52 deletions(-)