Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ExtJs Application Cache warning

I have a single page app written with ExtJs. I'm not using the application cache but when the app launches I see the following warning in Chrome:

[Deprecation] Application Cache API use is deprecated and will be removed in M82, around April 2020. See https://www.chromestatus.com/features/6192449487634432 for more details.

This question has been posted multiple times on the Sencha forums (here and here) going back several years. The only response has been from a non-Sencha poster saying it "should be ok." Not exactly the answer you would hope for.

Does anyone have any idea how to get rid of this warning? Considering I am not explicitly using the application cache it sounds as if ExtJs might be doing something with it in the background. That is what concerns me.

like image 870
Mark Wagoner Avatar asked Apr 01 '20 11:04

Mark Wagoner


1 Answers

You can turn appCache off in app.json:

/**
  * Settings specific to production builds.
  */
"production": {
    "output": {
        "appCache": {
            "enable": true, // <- change this to false and rebuild
            "path": "cache.appcache"
        }
    },
like image 100
Saki Avatar answered Oct 04 '22 16:10

Saki