/ Docs

Important data for functionality

Khofly uses site data mainly for storing user preferences that persist throughout sessions so that next time you visit https://khofly.com all your settings will be saved.

If you have Clear site data option enabled in your browser settings, which you should, this will wipe all cookies and local storage data saved for Khofly. For best user experience add https://khofly.com to exceptions to this rule in your browser settings.

Below is a list of data that Khofly uses.

Cookies

khofly-language: if you change the app language in settings it will be saved in a cookie.

khofly-app-theme: if you change the app theme in settings it will be saved in a cookie.

khofly-primary-color: if you change the primary color in settings it will be saved in a cookie.

These are stored in a cookie because they are important for server-side rendering.

LocalStorage

engines-store: search engines selected in settings that are passed to SearXNG API.

general-store: saves geolocation data for Weather Instant Answer so that it doesn't prompt for location access every time it is used. Only gets saved once user gives permission for location access.

instance-store: domains for all instances ( SearXNG, Nominatim, etc. ) that Khofly uses.

search-store: search settings like safe search, search language, date range, visited links, etc.

settings-store: general store for settings options like autocomplete, display favicons, open in new tab, etc.

settings-startpage: startpage store for settings options like wallpaper, shortcuts, widgets, etc.

These are persisted in local storage by zustand because they are "not so" important for server-side rendering.

Read more