1
2
3
4
5
#! /bin/bash
# Use this script every time you modify any file to force browsers to reload it (empty HTML5 cache).
command -v ed &> /dev/null || { echo "Error: 'ed' not installed. Aborting." > /dev/stderr; exit 1; }
printf ",s/#V.*/#V $(date '+%Y%m%d%H%M%S')/\nw\nq\n" | ed -s cache.manifest