<avm@pendragon.be>Expires headerETag headerExample: Angular.js
Goal: Serve content to end-users with:
Context:
→ adapt size of resources (images)
→ adapt complexity of page
in Chrome:
>> Developer Tools >> Performance >> (Record button)
Recording of:
Performance monitoring from the backend
Online application executing a number of predefined tests on a given web page.
Gives an overal evalution (/ 100 points) + detailed report with advices.
Only for applications visible publicly
→ verify criterias defined by the PWA specification (see further), and give a global evaluation (/ 100 points) + detailed report with advices
→ Bring user experience of native apps to web apps
This is made possible by modern web technologies
According to Google, they must have the following characteristics:
progressive - responsive - work offline - app-like - fresh - safe - discoverable - re-engageable - installable - linkable
Reduce latencies through:
→ a number of current practices should disappear
|
|
Disable the cache for this exercise: Developer Tools >> Network >> ⊠ Disable cache |
<html> <head> <title>Elements order</title> <script src="https://code.jquery.com/jquery-3.2.1.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/dojo/1.12.2/dojo/dojo.js"></script> <script src="https://code.angularjs.org/tools/system.js"></script> <script src="https://code.angularjs.org/tools/typescript.js"></script> <script src="https://code.angularjs.org/2.0.0-alpha.39/angular2.dev.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/phaser/2.6.2/phaser.js"></script> </head> <body> Here is (finally!) the page... </body> <html>