Clarity over Complexity: A July 2025 Update Recap
Copyright Notice: This article is an original work licensed under the CC 4.0 BY-NC-ND license.
If you wish to repost this article, please include the original source link and this copyright notice.
Source link: https://v2know.com/article/1166
Compared with April 2025, the July 2025 update involved 35 commits.
The diff from the end of April (commit fbad724…
) to mid‑July (commit 98ac579…
) covers 39 files with 656 insertions and 1,586 deletions.
April had 20 commits and 18 files changed with 683 insertions and 574 deletions.
Major improvements in July include:
-
Consistent JST handling for posts and feeds, with hover showing local time.
Implementation appears inarticlePageHelper.js
using thelocalizeTimeTitles()
function. -
Simplified navigation with the new homepage slogan “Clarity over complexity.” in
TopNav.razor
. -
Image enhancements such as click‑to‑zoom and smooth scaling in
articlePageHelper.js
. -
Caching for RSS and sitemap endpoints with
AsNoTracking()
queries to reduce load. -
Removal of visitor tracking and system metrics, along with other unused scripts, resulting in a leaner codebase.
Overall, July’s work focused on performance (async queries, caching), UI simplification (removed background scripts, adjusted mobile sidebar), and better user experience (localized times, improved image handling).
2025年7月の更新では4月に比べて35件のコミットが行われ、
4月末のコミットから7月中旬までの差分は39ファイルで656行追加、1,586行削除でした。
一方、4月の変更量は18ファイルで683行追加、574行削除です。
7月の主な改善点は以下の通りです:
-
すべての投稿やRSS・SitemapでJST表記を統一し、
<time>
にカーソルを合わせるとローカル時刻を表示する機能を追加。 -
TopNav.razor
に新しいスローガン “Clarity over complexity.” を表示し、ナビゲーションをシンプル化。 -
articlePageHelper.js
で画像をクリックすると拡大・縮小できる仕組みを導入。 -
RSSやSitemapの生成処理をキャッシュし、データ取得は
AsNoTracking()
を用いた非追跡クエリで効率化。 -
ビジター情報やシステムメトリクスを廃止し、不要なスクリプトを削除して軽量化。
総じて、7月はパフォーマンス向上(非同期クエリ・キャッシュ活用)とUIの整理、閲覧体験の改善(時刻表示・画像拡大等)に注力した月でした。
以下是對 2025 年 7 月倉庫更新內容的簡要回顧,著重說明「做了哪些可感知的改進」:
1. 首頁與版面
-
新增首頁標語「Clarity over complexity.」,可在
TopNav.razor
中看到。 -
指定網站標題在滑鼠經過時改為指標形狀,讓使用者更容易知道可點擊。
-
整體樣式進行簡化,並移除背景動畫與不必要的腳本(如矩陣背景),使版面更清爽、載入更快。
2. 文章與圖片呈現
-
新增
localizeTimeTitles
函式,讓文章的<time>
標籤在滑鼠停留時顯示使用者當地時間。 -
在初始化函式裡會自動套用上述本地化時間、處理圖片縮放等功能。
-
新增
TimeUtil
類別,用來統一轉換 JST 與 UTC,確保前後台時間顯示一致。 -
圖片點擊後可放大、縮放並顯示說明文字,瀏覽體驗更佳。
3. 效能與後端
-
大量移除系統指標與訪客追蹤相關程式,精簡網站運作。
-
在主要頁面、側邊欄及 RSS、Sitemap 端點加入快取,減少伺服器負擔並加快載入速度。可在
Program.cs
中看到 RSS 端點的快取處理以及 Sitemap 等相關程式碼。 -
對資料庫查詢改用
AsNoTracking
和非同步方法,並啟用DbContext
池化,以提升效能。
4. 行動裝置與互動
-
手機版側邊欄的遮罩與開啟方式獲得改善,更好操作。
-
移除側邊欄時鐘,避免干擾並減少不必要的腳本。
整體來看,7 月的更新主要集中在介面精簡、效能提升與使用體驗上,包括:
-
優化網站載入速度(快取、非同步查詢、移除不必要功能)。
-
提升閱讀與瀏覽便利性(本地時間顯示、圖片縮放、行動版側邊欄)。
-
版面風格更簡潔,並加入「Clarity over complexity」的核心標語。
這些調整讓網站更清爽、瀏覽更流暢,同時降低伺服器負擔。
This article was last edited at