I'm trying to get HTML5 offline storage working in a basic way. this is my html file
<html manifest="12thPayment.appcache" lang="en" ng-app="mainApp">
this is the 12thPayment.appcache file
CACHE MANIFEST
https://cdnjs.cloudflare.com/ajax/libs/SVG-Morpheus/0.1.8/svg-morpheus.js
https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.8/angular-ui-router.min.js
PAYMENTS.html
../../js/jquery-2.1.4.min.js
../../bower_components/angular/angular.min.js
../../bower_components/angular-animate/angular-animate.js
../../bower_components/angular-aria/angular-aria.js
../../bower_components/angular-material/angular-material.js
../../uimicrokernel/uimicrokernel.js
../../js/directivelibrary.js
../../js/12thdirective.js
js/controllers/paymentModule.js
js/controllers/configPayment.js
js/controllers/paymentService.js
js/controllers/paymentAdd.js
js/controllers/paymentUpload.js
js/controllers/paymentView.js
js/controllers/paymentSingleView.js
NETWORK:
*
when i run the file online chrome console says manifest file is created but in the offline it does't work. do i need to add the text/cache-manifest . then where do i need to add it
要在Apache服务器上启用AppCache,请将以下内容添加到.htaccess中:
AddType text/cache-manifest .appcache
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.