parcel-plugin-appcache-php

Parcel plugin for generating an appcache manifest

Usage no npm install needed!

<script type="module">
  import parcelPluginAppcachePhp from 'https://cdn.skypack.dev/parcel-plugin-appcache-php';
</script>

README

parcel-plugin-appcache

Parcel plugin for generating an appcache manifest

PHP version: appcache is referenced as name.appcache.php, but generated as name.appcache

Use this PHP stub for necessary actions

<?php 
header("Cache-Control: max-age=0, no-cache, no-store, must-revalidate");
header("Pragma: no-cache");
header("Expires: Wed, 11 Jan 1984 05:00:00 GMT");
header("Content-Type: text/cache-manifest");
readfile("name.appcache");