The URLs of the cache manifest list that should be cached. The client accessing these URLs does not know if they are static html files on top of Apache or dynamic content generated using node.js or something else.
Basically you instruct the client:
- Read my address list
- Go through each URL
- Download the answer and save it in a safe place.
- Check back my cache.manifest file if it has changed, then go to step 1
As long as your data created using node.js is reachable using a URL, there is no problem defining it as a string in the cache manifest.
And if you are worried βhow do I know what URLs areβ, you can always generate the cache.manifest file programmatically from node.js, but remember to specify the correct content type text/cache-manifest
Jan wikholm
source share