Close

Version 2.2 is now released

A project log for Mini-PI Media Server

Mini-PI Media Server for use on home network or as a wifi access point to stream media from

diddydiddy 07/25/2025 at 17:060 Comments

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)

Discussions