Homekolab.org
Diffusion kolab ed984b2e359d

Split client javascript code into core+unauthenticated and authenticated, the…

Authored by machniak on Mon, Jan 10, 11:28 AM.

Description

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

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 - 493 KB, now it is user.js - 395 KB and user/pages.js 94 KB.

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

Test Plan: ./phpunit --testsuite=Browser

Reviewers: #hkccp_developers, mollekopf

Reviewed By: #hkccp_developers, mollekopf

Subscribers: mollekopf, #hkccp_developers

Differential Revision: https://git.kolab.org/D3008

Details

Committed
machniakMon, Jan 10, 11:28 AM
Pushed
machniakMon, Jan 10, 11:28 AM
Reviewer
Restricted Project
Differential Revision
D3008: Split client javascript code into core+unauthenticated and authenticated, the same for admin/reseller
Parents
rKba18be4fbe73: Add some missing indices in signup_codes table
Branches
Unknown
Tags
Unknown
Build Status
Buildable 37804