Updated Home (markdown)

the-djmaze 2021-03-03 23:34:13 +01:00
parent e505941d95
commit 8639135ec1

78
Home.md

@ -4,7 +4,7 @@ _This project is a fork of Rainloop and aims to apply hardening, modernization a
## Installation ## Installation
For a detailed overview on installing Rainloop-djmaze, please see the [installation instructions](https://github.com/the-djmaze/rainloop-webmail/wiki/Installation-instructions). For a detailed overview on installing SnappyMail, please see the [installation instructions](https://github.com/the-djmaze/snappymail/wiki/Installation-instructions).
## Changes ## Changes
@ -31,45 +31,69 @@ _This fork implements the following changes in comparison to upstream:_
This fork uses downsized/simplified versions of scripts and has no support for Internet Explorer, resulting in increased performance and a smaller pageload - which benefits mobile devices. Things might work in Edge 15-18, Firefox 47-62 and Chrome 54-68 due to one polyfill for array.flat(). This fork uses downsized/simplified versions of scripts and has no support for Internet Explorer, resulting in increased performance and a smaller pageload - which benefits mobile devices. Things might work in Edge 15-18, Firefox 47-62 and Chrome 54-68 due to one polyfill for array.flat().
* Replaced jQuery with jQuery.slim
* Removed pikaday * Removed pikaday
* Removed underscore * Removed underscore
* Removed polyfills * Removed polyfills
* Removed Modernizr * Removed Modernizr
* Removed nanoscroll * Removed nanoscroll
* Removed jquery-scrollstop * Removed lightgallery
* Removed jquery-mousewheel * Removed jQuery
* Removed matchmedia-polyfill * Removed matchmedia-polyfill
* Removed momentjs (localization still used) * Removed momentjs (use Intl)
* Removed opentip (use CSS)
|js/* |1.14.0 |native |gzip 1.14 |gzip | RainLoop 1.15 vs SnappyMail
|----------- |--------: |--------: |--------: |--------: |
|admin.js |2.130.942 |1.210.394 | 485.481 | 298.376 |
|app.js |4.184.455 |2.954.996 | 932.725 | 691.792 |
|boot.js | 671.522 | 93.585 | 169.502 | 28.382 |
|libs.js | 647.614 | 458.656 | 194.728 | 139.408 |
|polyfills.js | 325.834 | 0 | 71.825 | 0 |
|TOTAL js |7.960.367 |4.717.631 |1.854.261 |1.157.958 |
|js/min/* |1.14.0 |native |gzip 1.14 |gzip | |js/* |RainLoop |Snappy |
|--------------- |--------: |--------: |--------: |--------: | |--------------- |--------: |--------: |
|admin.min.js | 252.147 | 156.171 | 73.657 | 44.788 | |admin.js |2.158.025 | 110.283 |
|app.min.js | 511.202 | 384.195 |140.462 |101.677 | |app.js |4.215.733 | 518.179 |
|boot.min.js | 66.007 | 11.545 | 22.567 | 4.460 | |boot.js | 672.433 | 4.726 |
|libs.min.js | 572.545 | 413.971 |176.720 |129.076 | |libs.js | 647.679 | 227.780 |
|polyfills.min.js | 32.452 | 0 | 11.312 | 0 | |polyfills.js | 325.908 | 0 |
|TOTAL js/min |1.434.353 | 965.882 |424.718 |280.001 | |serviceworker.js | 0 | 285 |
|TOTAL |8.019.778 | 861.253 |
468.471 bytes (144.717 gzip) is not much, but it feels faster. |js/min/* |RainLoop |Snappy |RL gzip |SM gzip |RL brotli |SM brotli |
|--------------- |--------: |--------: |------: |------: |--------: |--------: |
|admin.min.js | 255.514 | 55.895 | 73.899 | 15.992 | 60.674 | 14.239 |
|app.min.js | 516.000 | 252.825 |140.430 | 73.089 |110.657 | 61.565 |
|boot.min.js | 66.456 | 2.525 | 22.553 | 1.391 | 20.043 | 1.201 |
|libs.min.js | 574.626 | 115.768 |177.280 | 42.792 |151.855 | 38.097 |
|polyfills.min.js | 32.608 | 0 | 11.315 | 0 | 10.072 | 0 |
|TOTAL |1.445.204 | 427.013 |425.477 |133.264 |353.301 |115.102 |
|TOTAL (no admin) |1.189.690 | 371.118 |351.061 |117.272 |292.627 |100.863 |
For a user its around 66% smaller and faster than traditional RainLoop.
|css/* |1.14.0 |native |
|-------------- |--------: |--------: | |css/* |RainLoop |Snappy |RL gzip |SM gzip |SM brotli |
|app.css | 340.334 | 292.716 | |------------ |-------: |-------: |------: |------: |--------: |
|app.min.css | 274.791 | 231.956 | |app.css | 340.334 | 113.842 | 46,959 | 19.342 | 16.575 |
|app.min.css | 274.791 | 94.441 | 39.618 | 17.414 | 15.264 |
|boot.css | | 2.066 | | 913 | 742 |
|boot.min.css | | 1.696 | | 818 | 664 |
|admin.css | | 52.753 | | 10.259 | 8.964 |
|admin.min.css | | 42.311 | | 9.098 | 8.088 |
### Replaced CKEditor with Squire
The [Squire](https://github.com/neilj/Squire) implementation is not 100% compatible yet, but it shows the massive overhead of CKEditor.
Still TODO:
* support for tables (really needed?!?)
* support BIDI (really needed?!?)
| | normal | min | gzip | min gzip |
|-------- |-------: |-------: |------: |--------: |
|squire | 128.826 | 47.074 | 33.671 | 15.596 |
|ckeditor | ? | 520.035 | ? | 155.916 |
## PHP73 branch ## PHP73 branch
There is a branch that only incorporates the PHP 7.3 changes, this branch can be found at There is a branch that only incorporates the PHP 7.3 changes, this branch can be found at
https://github.com/the-djmaze/rainloop-webmail/tree/php73 https://github.com/the-djmaze/SnappyMail/tree/php73