blob: 68783bdfa7be7735f137929a1d2e5a34ea6a7fbc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<script>
import Spacer from '$lib/Layout/Spacer.svelte';
import settings from '$stores/settings';
</script>
<small class="opaque">
Clearing
<a href="https://due.moe">due.moe</a>'s site data will clear these caches too.
</small>
<Spacer />
Re-cache AniList media lists every
<input
type="number"
class="no-shadow"
bind:value={$settings.cacheMinutes}
min="1"
max="60"
placeholder="30"
size="1"
onchange={() =>
($settings.cacheMinutes < 1 && ($settings.cacheMinutes = 1)) ||
($settings.cacheMinutes > 60 && ($settings.cacheMinutes = 60))}
/>
minutes
<br />
Re-cache manga data every
<input
type="number"
class="no-shadow"
bind:value={$settings.cacheMangaMinutes}
min="5"
max="1440"
placeholder="120"
size="2"
onchange={() =>
($settings.cacheMangaMinutes < 5 && ($settings.cacheMangaMinutes = 5)) ||
($settings.cacheMangaMinutes > 1440 && ($settings.cacheMangaMinutes = 1440))}
/>
minutes
|