Reputation: 7235
Does chrome extension retrieve its own resources(js, css, images) via an HTTP request, or with some other method? By saying "its own resources" I mean the resources that the extension comes packaged with. In other words, should I worry about including multiple CSS or JS files, or is it better to concatenate them?
I've been googling for the answer for past 5 - 7 minutes, but still can't find it.
Upvotes: 0
Views: 28
Reputation: 20488
The files inside the package are downloaded whenever the extension or app is installed and updated. This means you do not need to worry about resource requests failing, and you get offline functionality for free if you put everything you need inside the package.
Upvotes: 2