I am currently utilizing the Ionic framework, but my question extends beyond this specific technology.
It is considered a best practice to pre-cache HTML template files using tools like html2JS in tasks managed by grunt or gulp. This can help reduce network round trips.
However, what about scenarios where the web content is embedded within a smartphone application, such as Cordova/Phonegap?
In these cases, there is no active network involvement.
Is it still necessary to pre-cache the templates in this context?
Furthermore, should I consider minifying my HTML and JavaScript files in the same scenario?
My initial assumption is that the answers are "No" for both questions, but I would appreciate any confirmation on this matter.