Mobile appcache application first served via php

Hi all,

I’m developing a web application that is all coded with javascript/jquery, css and images files. I looking make use of the html5 appcache facility. I have basic grasp on the concept of this.
I read that pages that have a link to a appcache manifest automatically get cached along with any files listed in the appcache file.

Is this still the case if the start page for my app is served from php (demo_app.php). Basically the app is first going to be available via a site (built with MVC structure) with initial setup variables passed to JavaScript through php. Or should I forget php as the app host page and stick to demo_app.html and setup variables in a localstorage object?

any thoughts?