ajnart / homarr-docs

The documentation of Homarr
https://homarr.vercel.app/
5 stars 41 forks source link

Create icon-cache.md #16

Closed epheterson closed 1 year ago

epheterson commented 1 year ago

Adding instructions on how to run a small custom script which will create an update an icon cache.

Category

Documentation

Overview

Small document update sharing a script that creates an icon cache.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
homarr-docs ✅ Ready (Inspect) Visit Preview Jan 8, 2023 at 0:44AM (UTC)
epheterson commented 1 year ago

This is related to the following issue: https://github.com/ajnart/homarr/issues/554

As well as the following discussion: https://github.com/ajnart/homarr/discussions/246

manuel-rw commented 1 year ago

Documentation for https://github.com/ajnart/homarr/issues/554

ajnart commented 1 year ago

We need a reminder to delete the parts the will be outdated on v0.11 release

Also I don't understand how cache can work if you can't access homarr on the first place. I'm not aware of us having some kind of offline mode coded anywhere in the app so how can you access it from anywhere other than your local network if you don't have internet ?

epheterson commented 1 year ago

Good point we should remove that note after 0.11 is out or has been out for a little bit.

Offline use case isn't common but you could always access your server locally, with remote URLs they wouldn't load and with the cache things would look normal. This is definitely a nice-to-have, primarily the benefit is not having to download remote images. It's also nice to be resilient against the URL changing and is a lower load on the icon server to only hit them once instead of every time.