0
votes

I've been stuck on this for a few days and i ran out of google-fu now so lets go over my implementation.

<!DOCTYPE html>
<html manifest="index.php/Appcache/">

Handled with a manifest controller as specified in this stackoverflow page : Using Appcache with CodeIgniter

The manifest

<?php 
header("Content-Type: text/cache-manifest");
echo"CACHE MANIFEST:

# v 0.1.3

NETWORK:
*

FALLBACK:
/ Offline.html";
?>

When i load the html page the link to the manifest works I'm not getting a fetching error but a parsing error : Application Cache Error event: Failed to parse manifest . i have cleared cache, tried multiple browsers safari (gives a similar error) and Firefox (just gives no error at all )

Any help on this would be greatly appreciated.

2

2 Answers

0
votes

Looks like you are missing a semicolon after your echo statement in the manifest.

0
votes

the problem was fairly simple CACHE MANIFEST: it should be without the :