frontpage
|
best
|
new
|
ask
|
show hn
|
jobs
search
|
about
|
cache
|
version
|
settings
Here is a collection of all possible settings Ditzes exposes.
Settings are automatically persisted when you change them.
Current Settings (on-disk) schema version:
Dark Mode
:
If to use darker color scheme or not. It is recommended to use "Auto Dark Mode" if possible to avoid flashes of brightness.
Auto Dark Mode
:
If the application should use OS preferences for dark color schemes or not. This setting is better to use than "Dark Mode" as the manual setting might show fast flashing of bright background when the application initializes.
Use Cache
:
By default, the application caches most content it comes across, to avoid slowness when loading lots of comments. If you have a very, very fast internet connection, you might prefer "live" content instead of cached content. If you have a slow internet connection, try leaving this on and activating "Auto Cache" instead for a faster browsing experience.
Auto Cache
:
This setting will make Ditzes proactively go out and fetch content and refresh it periodically instead of waiting for you to request it. Use this if you have a internet connection that is not very, very fast, as the HN API requires us to fetch every item individually, which can be very slow for larger threads, even if you have a good internet connection.
Auto Cache Interval
:
How often Auto Cache should see if there is new items to download. Defined in seconds. Default: 60 (once per minute).
Auto Cache Fetch Count
:
How many items should be max fetched each time. Should be a higher number if Auto Cache Interval is higher, as otherwise you might miss to cache items, as Auto Cache just fetched $LATEST_ITEM_ID - $COUNT, so if more items have been submitted to HN since last time Auto Cache ran + $COUNT, those will never be fetched unless you manually fetch them on the /cache page. Default: 1000.
Enable Debug Mode
:
Shows a bunch of useful debug output and data, useful for debugging and seeing the inner workings of Ditzes, it can make things VERY slow or even hang the application as data gets outputted in pretty-printed format to the DOM. Only activate this if you're hacking on Ditzes or if you're a curious individual with a hint of masochism.