appcache error

Hello,

I'm trying to cache and make my app working offline, (using vuejs and webpack offline plugin)

it works on google chrome.

 

i have this error on EB :

Application Cache update failed, because http://{myip}:4000/styles.f136d6a8.css could not be fetched. (it's css file here but it's totaly random, it could be a js or woff file)

 

i dont understand because when i click on the url, he show me the file content that i'm trying to fetch.

 

How can i resolve this problem please ?

Thanks

Lucas Garrido
Hello, i have some details

Hello, i have some details about this.

I tried to cache my files using a simple index.html and an appcache file and it works fine, then i added the scripts and stylesheet references like

<link rel="stylesheet" type="text/css" href="./css/main.css">

<script type="text/javascript" src="/vendor.2c18439a.js">

this is triggering the fetch error

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Joydeep Chakraborty
Which version of Enterprise

Which version of Enterprise Browser are you using? Please share the config.xml and the Device model number and OS version.

Have you set the Application Cache value to 1 in config.xml?

Config.xml Reference - Zebra Technologies TechDocs

<ApplicationCacheEnabled value="1"/>

You can also try setting

Config.xml Reference - Zebra Technologies TechDocs

<DomStorageEnabled value="1"/>

Regards,

Joydeep

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments