Html5 cache Manifest not working -


i'm trying html5 offline storage working in basic way. html file

<html manifest="12thpayment.appcache" lang="en" ng-app="mainapp"> 

this 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 run file online chrome console says manifest file created in offline does't work. need add text/cache-manifest. need add

to enable appcache on apache server, add following .htaccess:

addtype text/cache-manifest .appcache 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -