Skip to content

Conversation

@yasulab
Copy link
Member

@yasulab yasulab commented Oct 24, 2025

CSS のキャッシュを自動的に無効化する仕組みを追加してみました! 🛠💨

変更箇所

<!-- DojoCon CSS -->
<link rel="stylesheet" href="/css/main.css?v={{ 'now' | date: '%Y%m%d-%H%M%S' }}" />

ビルド結果の例

image

参考

cf. Liquid Official Doc - Date
https://shopify.github.io/liquid/filters/date/

image

Copy link
Collaborator

@mucho613 mucho613 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます!!!!! 🙏 🥳 ビルド済ファイルに適用されるのを確認しました 👍

@kp54 kp54 merged commit c52e1bf into main Oct 24, 2025
2 checks passed
@kp54 kp54 deleted the add-time-based-hash-to-flush-cache branch October 24, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants