Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear cache and refresh on start? #187

Open
sam98brown opened this issue Jul 22, 2022 · 6 comments
Open

Clear cache and refresh on start? #187

sam98brown opened this issue Jul 22, 2022 · 6 comments

Comments

@sam98brown
Copy link

Is it possible to clear cache and refresh on boot? I have an issue where the page wont load without a cache clear and refresh.

@sborn
Copy link

sborn commented Jul 22, 2022

I have all of mine write-protected (overlay) so that they don’t get corrupted when my staff unplug them without shutting them down. That would serve the same function.

@sam98brown
Copy link
Author

Please could you point me in the right direction for doing that?

@sborn
Copy link

sborn commented Jul 22, 2022

(From memory, so let me know if I’m off)
sudo raspi-config
Option number 4 (performance options, maybe?)
Overlay file system (enable)
Write protect (yes)
Finish
Yes to reboot

@sam98brown
Copy link
Author

Great, thanks for the help. Just so I'm sure, how does this ensure the cache issue won't be a problem?

@sborn
Copy link

sborn commented Jul 22, 2022

Have you ever booted from a “live CD” with anything? Where you don’t have a hard drive running the show, but the computer acts as if it is writing to a hard drive? Even though CDs can’t be written to?

@sborn
Copy link

sborn commented Jul 22, 2022

Anyway, it basically makes it like that. So every time it reboots, it is fresh again. Nothing that happens during previous sessions is stored. So before you enable all of that, make sure it is in the state that you want it to boot to every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants