Skip to content

faviconをwebp+base64で埋め込み&minify js - #3

Merged
ocl2go merged 2 commits into
mainfrom
perf/base64-webp-minify-js
Oct 30, 2025
Merged

faviconをwebp+base64で埋め込み&minify js#3
ocl2go merged 2 commits into
mainfrom
perf/base64-webp-minify-js

Conversation

@ocl2go

@ocl2go ocl2go commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

- JSの長さ短縮
- Elementのidを "email" -> "e"
- 新しいjavascript source: `with(e)href="mailto:"+(text="onekg-jn@sfc.keio.ac.jp")`
- faviconを直埋め込み
- webpで元サイズを小さく
- base64
- command `cwebp <logo.png> -resize 32 32 -q 50 -quiet -o - | base64`
- 元画像のlogoはwordpressから引っ張ってきた
@github-actions

Copy link
Copy Markdown

@ocl2go
ocl2go requested a review from sakusaku3939 October 30, 2025 09:24

@sakusaku3939 sakusaku3939 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@ocl2go
ocl2go merged commit ba1d588 into main Oct 30, 2025
1 check passed
@ocl2go
ocl2go deleted the perf/base64-webp-minify-js branch October 30, 2025 10:06
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.

2 participants