Autoclear Cache Option
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
Autoclear Cache Option
So, I have a folder on my home computer that, when substituted for the Wesnoth data folder, causes Wesnoth to always reload its data when it restarts (i.e. clear its cache).
I also have some dubious memories of happening an option for that and setting it some months ago.
I'm on a faraway device and would like to have that same behavior, but I can't find the option. Does anyone know where it is?
I also have some dubious memories of happening an option for that and setting it some months ago.
I'm on a faraway device and would like to have that same behavior, but I can't find the option. Does anyone know where it is?
Re: Autoclear Cache Option
I am not aware of such an option. But you can delete the contents of the cache folder every time you start wesnoth.
On Linux I recall two possibilites for this
or, if it's enough if the cache gets cleared after reboot, you can store it in a ramdisk:
For other OS this won't work, but I think you get the idea.
On Linux I recall two possibilites for this
Code: Select all
create the file /usr/local/bin/wesnoth and give it execution permissions:
#!/bin/bash
rm -f ~/.cache/wesnoth/*
/usr/bin/wesnoth (or similar, the command 'whereis wesnoth' will tell you the correct path )
Code: Select all
add a line in /etc/fstab:
tmpfs /home/ArcdeSeel/.cache/wesnoth/ tmpfs size=50M,nodev,nosuid,noexec 0 0
Try out the dark board theme.
-
- Posts: 4
- Joined: December 7th, 2022, 2:13 am
Re: Autoclear Cache Option
--nocache
-
- Posts: 4
- Joined: December 7th, 2022, 2:13 am
Re: Autoclear Cache Option
shift-f5