Version 2.2 has updated caching added to apache web server for all media types.
really helps if apache is running on a Pi Zero 2 W.
Virtual hosts file now has :-
<FilesMatch "\.(mp4|webm|ogv|mp3|ogg|wav|mkv|avi|mov|jpg|jpeg|png|gif|webp)$">
Header set Cache-Control "public, max-age=31536000, immutable"
Header unset Pragma
Header unset Expires
</FilesMatch>
caching of the animated background images for quicker change times for the user :-
const urlsToCache = ['/1.gif', '/2.gif', '/3.gif', '/4.gif', '/5.gif', '/6.gif', '/7.gif', '/8.gif' , '/9.gif', '/popcorn.png'];
overrall performance increase espcially notable on a PI zero 2 w.
tested on a Pi Zero 2W, Pi 4B and now on a Pi 5 (2GB ram)
diddy
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.