Page MenuHomekolab.org

Split client javascript code into core+unauthenticated and authenticated, the same for admin/reseller
Needs ReviewPublic

Authored by machniak on Wed, Nov 10, 10:28 AM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

As we're adding more and more features the client-side code grows. To make the main page still responsive
I split the code into two parts. One that is always loaded and one that is loaded only if user is authenticated.

So, before we had user.js - 464 KB, now it is user.js - 392 KB and pages.js 69 KB.

I also saved a few kilobytes with use of whitespace:condense option.

Test Plan

./phpunit --testsuite=Browser

Diff Detail

Repository
rK kolab
Branch
dev/split-client
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 37028
Build 14762: arc lint + arc unit

Event Timeline

machniak requested review of this revision.Wed, Nov 10, 10:29 AM
machniak created this revision.