diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-05 14:21:12 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-05 14:21:12 +0900 |
| commit | 8598b20ff6ebd68bf139fc361d5b311f7a553882 (patch) | |
| tree | a7c6a7a8a9758fdbf6f3255e39de18b6a45f6912 /public/.htaccess | |
| parent | 174886a483d90756b1320c12aef0e6f296c6d425 (diff) | |
bluebey-studio: 目の形の反映を修正、まぶたに高さ追加・まつげ実装、キャッシュ対策
レンダラーへ shape を渡しておらず目の形ボタンが効かなかったのを修正。上まぶた・下まぶたの高さを「まぶた」グループへ。まつげを追加。bluebey-studio配下のHTML/JS/CSSをno-cacheにし、更新時に古い版が残らないようにした。
Diffstat (limited to 'public/.htaccess')
| -rw-r--r-- | public/.htaccess | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/public/.htaccess b/public/.htaccess index 0d23203..d3dfdb8 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -127,4 +127,11 @@ RewriteRule ^blog/moji-okosi-whisper-surprised/?$ /whisper-to-ai-moji-okoshi/ [R # /img/ 以下はURLが内容と対応しないため、控えめの有効期間にする。 SetEnvIf Request_URI "^/img/" short_cache Header set Cache-Control "public, max-age=604800" env=short_cache + + # /bluebey-studio/ はファイル名が変わらないため、更新しても古いJS/CSSが + # 残りやすい。常に再検証させ(no-cache)、変更があればすぐ新を取りに + # いかせる。HTMLとJS/CSSが对象(大きな glb などの資材は除外)。 + SetEnvIf Request_URI "^/bluebey-studio/?$" studio_revalidate + SetEnvIf Request_URI "^/bluebey-studio/.*\.(html|js|css|json)$" studio_revalidate + Header set Cache-Control "no-cache, must-revalidate" env=studio_revalidate </IfModule> |
