Tinnin 8 Posting Whiz in Training

Hi All,

I'm trying to set up an application cache for offline viewing. I'm using a custom built mvc framework. I'm having trouble getting anything to work regarding the application cache. It's as though the .appcache file isn't even being picked up.

My set up is as follows:

referencing the .appcache file using a partly dynamically created absolute url.

<html manifest="http://localhost/mysite/site/appcache" >

The url base is the dynamic part filled in using php.

This then runs via a bootstrap index page to the site controller accessing the appcache action which loads as a view the mysite.appcache file.

I have altered the .htaccess file which is placed in the root of the application and added the line

AddType text/cache-manifest .appcache

The .appcache file is

CACHE MANIFEST
# 2015-07-23:v1

which from my understanding should cache everything it comes across without having to explicitly mention each file.

I'm testing using the Firefox browser.

Any ideas where I might be going wrong?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.