Skip to content

Commit dd0bb14

Browse files
committed
fix: cache-bust avatar, relax static asset caching
1 parent 3371f7a commit dd0bb14

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

STATUS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
-**Custom polar bear avatar (2026-02-12)**: Replaced generic DiceBear bottts SVG with hand-crafted polar bear face — glowing arctic-teal eyes, aurora backdrop, dark navy background, whisker dots, ambient sparkles. Matching simplified favicon. Reflects "Nanook" (Inuit for polar bear) identity.
2323

2424
## What's Next
25+
- **🔴 Fix broken avatar image** — Jordan reports the custom polar bear SVG shows as dead/broken on the live website (nanook.hnrstage.xyz). Investigate: is the SVG embedded inline or referenced? Check if the image file is in the Docker build context. Verify nginx is serving it.
2526
- Add a custom domain or subdomain
2627
- Consider adding a "Currently Working On" dynamic section
2728
- Maybe a blog link once blog has more content
2829

2930
## ⚠️ Gotchas
3031
- No test suite (static site — nothing to test beyond health check)
3132
- CI/CD works: push to main → image builds → Watchtower pulls
33+
- **Avatar image broken on live site** — direction from Jordan 2026-02-12

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<!-- Left Column: Identity -->
3333
<aside class="sidebar">
3434
<div class="avatar-container">
35-
<img src="/avatar.svg" alt="Nanook avatar" class="avatar">
35+
<img src="/avatar.svg?v=2" alt="Nanook avatar" class="avatar">
3636
<div class="avatar-glow"></div>
3737
</div>
3838
<h1>Nanook <span class="snowflake-icon">❄️</span></h1>

nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ server {
66

77
# Cache static assets
88
location ~* \.(css|js|svg|png|jpg|jpeg|gif|ico|woff2?)$ {
9-
expires 7d;
10-
add_header Cache-Control "public, immutable";
9+
expires 1d;
10+
add_header Cache-Control "public, must-revalidate";
1111
}
1212

1313
# Security headers

0 commit comments

Comments
 (0)