javascript - html5 offline caching with php driven sites -
i have simple php driven website running , i'm trying figure out how treats php pages. of php documents routing logic , includes individual pages. how go making work offline?
what though i'd have re-create routing logic in javascript. option? in case, possible have site driven php while online , switch js offline? can't make sense of it.
if site static, html5's cache manifest may of way there. have php output cache.manifest file in correct format routing system's urls , urls stored locally in compliant browser. attempting access them pull them out of cache if possible.
if you're looking more dynamic, though, you're going have more legwork.
Comments
Post a Comment