Skip to content

Commit

Permalink
#164 fix multiple bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
tbela99 committed May 27, 2022
1 parent 58c2562 commit 60fafa3
Show file tree
Hide file tree
Showing 97 changed files with 2,960 additions and 1,451 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
test/ export-ignore
config/ export-ignore
docs/ export-ignore
worker/src/ export-ignore
js/lib/ export-ignore
composer.lock export-ignore
composer.phar export-ignore
.gitignore export-ignore
build.sh export-ignore
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
.idea/
jasmine/
node_modules/
package-lock.json
#package-lock.json
test/
excluded.lst
/composer.phar
/composer.lock
#/composer.lock
43 changes: 22 additions & 21 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,28 @@
## High priority list

1. implement backgroundFetch API
2. make the custom pwa prompt optional and configurable. the user may choose to use the browser defaults.
3. merge javascript and css files using groups in order to leverage cache. for example we can merge common libraries in one bundle and other files which depend on the current page in another bundle
4. implement new manifest file [properties](https://developer.mozilla.org/en-US/docs/Web/Manifest)
5. customize image quality settings (jpeg image quality, jpeg optimization method)
6. improved LQIP for [jpeg files](https://www.smashingmagazine.com/2019/08/faster-image-loading-embedded-previews/)
7. better detect character encoding when manually editing the offline page HTML
8. modify service worker cache and network fallback and cache only to attempt an update after a specified time (it will behave like cache and network update with a delayed update)
9. [improvement] When fetch remote scripts is off and a local copy is hosted locally, the local copy should not be used
10. [feature] Validate integrity data when the integrity attribute is provided for link and script before minifying / merging them together
11. Implement manual dns prefetch?
12. add support for the user action Log see [here](https://docs.joomla.org/J1.x:User_Action_Logs)
13. do not cache partial request?
14. intercept partial requests and return response from cache?
15. merge multiple google font < link > tag?
16. Fetch remote resources periodically (configurable) (css, javascript, fonts, ...). This can be usefull for analytic scripts and and hosted fonts.
17. Web push notifications with firebase?
18. Messaging API (broadcasting messages to and from all/single clients)
19. Remove < Link rel=preload > http header and use < link > HTML tag instead. see [here](https://jakearchibald.com/2017/h2-push-tougher-than-i-thought/)
20. Disk quota management see [here](https://developer.chrome.com/apps/offline_storage) and [here](https://developer.mozilla.org/fr/docs/Web/API/API_IndexedDB/Browser_storage_limits_and_eviction_criteria) and [here](https://gist.github.com/ebidel/188a513b1cd5e77d4d1453a4b6d060b0)
21. Clear Site Data api see [here](https://www.w1.org/TR/clear-site-data/)
22. code refactoring: make helper properties protected or private and use wrapper methods instead
2. use amphp to parallelize fonts and images download.
3. make the custom pwa prompt optional and configurable. the user may choose to use the browser defaults.
4. merge javascript and css files using groups in order to leverage cache. for example we can merge common libraries in one bundle and other files which depend on the current page in another bundle
5. implement new manifest file [properties](https://developer.mozilla.org/en-US/docs/Web/Manifest)
6. customize image quality settings (jpeg image quality, jpeg optimization method)
7. improved LQIP for [jpeg files](https://www.smashingmagazine.com/2019/08/faster-image-loading-embedded-previews/)
8. better detect character encoding when manually editing the offline page HTML
9. modify service worker cache and network fallback and cache only to attempt an update after a specified time (it will behave like cache and network update with a delayed update)
10. [improvement] When fetch remote scripts is off and a local copy is hosted locally, the local copy should not be used
11. [feature] Validate integrity data when the integrity attribute is provided for link and script before minifying / merging them together
12. Implement manual dns prefetch?
13. add support for the user action Log see [here](https://docs.joomla.org/J1.x:User_Action_Logs)
14. do not cache partial request?
15. intercept partial requests and return response from cache?
16. merge multiple google font < link > tag?
17. Fetch remote resources periodically (configurable) (css, javascript, fonts, ...). This can be usefull for analytic scripts and and hosted fonts.
18. Web push notifications with firebase?
19. Messaging API (broadcasting messages to and from all/single clients)
20. Remove < Link rel=preload > http header and use < link > HTML tag instead. see [here](https://jakearchibald.com/2017/h2-push-tougher-than-i-thought/)
21. Disk quota management see [here](https://developer.chrome.com/apps/offline_storage) and [here](https://developer.mozilla.org/fr/docs/Web/API/API_IndexedDB/Browser_storage_limits_and_eviction_criteria) and [here](https://gist.github.com/ebidel/188a513b1cd5e77d4d1453a4b6d060b0)
22. Clear Site Data api see [here](https://www.w1.org/TR/clear-site-data/)
23. code refactoring: make helper properties protected or private and use wrapper methods instead

## Low priority list

Expand Down
Empty file modified build.sh
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"mck89/peast": "^1.13",
"ext-gd": "*",
"ext-json": "*",
"ext-sodium": "*"
"ext-sodium": "*",
"ext-dom": "*",
"ext-simplexml": "*"
}
}
Loading

0 comments on commit 60fafa3

Please sign in to comment.