perf: 게시판 목록 로딩 성능 최적화 + 미사용 이미지 정리#252
Merged
Merged
Conversation
@tiptap/extension-image를 확장한 LinkedImage 커스텀 extension 생성. ProseMirror의 Image 노드가 marks를 허용하지 않아 <a><img></a> 파싱 시 Link mark가 제거되던 문제를 href를 노드 attribute로 관리하여 해결.
- 홍보 게시판 목록: pin_to_top 우선, 날짜 내림차순 정렬 - Tiptap 에디터: 이미지 선택 후 링크 설정 다이얼로그 추가 - 카카오 OAuth: 잘못된 client_secret 자동 감지/무시, 선택적 전송 - 소셜 로그인 버튼 순서 랜덤 셔플 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- sessionStorage 카운터로 2회 이상 새로고침 시 배너 숨김 - 새로고침 시 Service Worker 해제 + Cache Storage 삭제 - cache-busting query param으로 브라우저 캐시 우회 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
app.html의 인라인 배너가 사용자에게 반복 표시되는 문제. hooks.client.ts에서 chunk load error를 자동 새로고침(최대 2회)으로 이미 처리하고 있으므로 중복 배너 제거. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- CDN 캐시: 비로그인 게시판 목록 s-maxage=10 적용 - Board 정보 인메모리 캐시 (60초 TTL, backend 호출 스킵) - 비로그인 게시글 목록 인메모리 캐시 (15초 TTL) - 미사용 이미지 6개 삭제 (admin/guest/special SVG, muzia 로고, thumb) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Staging 배포 완료URL: https://dev.damoang.net
|
sdk-kr
added a commit
that referenced
this pull request
Mar 7, 2026
## Summary - CDN 캐시: 비로그인 게시판 목록 `s-maxage=10, stale-while-revalidate=30` 적용 - Board 정보 인메모리 캐시 (60초 TTL, backend API 호출 스킵) - 비로그인 게시글 목록 인메모리 캐시 (15초 TTL) - 미사용 이미지 6개 삭제 (admin/guest/special SVG, muzia 로고, thumb) ## Test plan - [ ] `curl -sI 'https://damoang.net/free'` → `s-maxage=10` 확인 - [ ] 2회 연속 접속 → `cf-cache-status: HIT` 확인 - [ ] 로그인 시 `cache-control: private, no-store` 확인 - [ ] 레벨 배지 정상 표시 확인 (삭제한 SVG가 사용 안 되는지) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Deploy Bot <deploy@damoang.net> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
s-maxage=10, stale-while-revalidate=30적용Test plan
curl -sI 'https://damoang.net/free'→s-maxage=10확인cf-cache-status: HIT확인cache-control: private, no-store확인🤖 Generated with Claude Code