Cache bust all assets by appending timestamp ($(date +%s)) at build-time to various URLs:
Linked to in <head>:
CSS files
JS files
icon and image files
webmanifest and browserconfig files
Elsewhere:
???
... This is required cos we want to auto-publish new posts (and updated index files) from inside update_pages, and then run generate_sitemap.sh (which checks the live URL) to build and publish a new sitemap.xml file..
Doing so requires ./generate_sitemap.sh to be run as soon as stuff is published to Github.. Therefore, it may help if we cache bust as much as possible with each deployment/publish.
Cache bust all assets by appending timestamp (
$(date +%s)
) at build-time to various URLs:Linked to in
<head>
:Elsewhere:
???
... This is required cos we want to auto-publish new posts (and updated index files) from inside
update_pages
, and then rungenerate_sitemap.sh
(which checks the live URL) to build and publish a newsitemap.xml
file..Doing so requires
./generate_sitemap.sh
to be run as soon as stuff is published to Github.. Therefore, it may help if we cache bust as much as possible with each deployment/publish.