0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Chromeのfaviconを即時反映させたい。

Posted at

Chromeのキャッシュを削除すればよいだけの話だが、目的がfaviconの更新だけで、他のキャッシュまで消したくないので、その方法の話。

Chromeのfaviconキャッシュの場所は、こちら。
※ 以下のコマンドはすべてChromeが閉じた状態で行う。

Windowsの場合、%LOCALAPPDATA%\Google\Chrome\User Data\Default\Faviconsがキャッシュファイルの場所となる。

faviconを更新したい場合、これを削除すれば、キャッシュされているすべてのfaviconが更新される。

# faviconキャッシュを削除
del "%LOCALAPPDATA%\Google\Chrome\User Data\Default\Favicons"

一時的にこのキャッシュをバックアップして、後で戻してもよい。

# faviconキャッシュを一時退避
ren "%LOCALAPPDATA%\Google\Chrome\User Data\Default\Favicons" Favicons_

# 退避したfaviconキャッシュを復元
del "%LOCALAPPDATA%\Google\Chrome\User Data\Default\Favicons"
ren "%LOCALAPPDATA%\Google\Chrome\User Data\Default\Favicons_" Favicons

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?