blob: 77f8670e03058037e758d65782a77641da3284eb (
plain)
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
|