If a single query carries more load than it can handle, it will break down. So the most worked out query was broken down to carry that load in 2 different queries. If nobody is over-worked, no issues occur & production continues.
Before: 0.8MB
After: 0.5MB
Biggest query reduced by 37.5%
Ideally no errors should occur. Its called "error" for a reason. The more we are strict with any sort of errors, less are the chances of any unexpected thing to happen. If everything that's happening is expected, we are already prepared for it. Win!
Before: 2-3 JS errors on several page
After: Error-Free!
If anyone opens a machine, and everything is neatly organized, it actually saves time in adding more parts, figuring out what's going on in different parts and overall results in better far-sightedness of any consequences of our actions thus strengthening the overall stability of the site.
Files Changed: 83
Additions: 2719 Lines + Deletions: 2966 Lines
Protect your assets. Earlier attempt which hampered the site's performance, has now been implemented in a way, which gives you the ability to be strict on how you allow access without any penalty on performance.
Encrypted URLs + Logged in Check + User Access Check
Working in top-notch condition. Has all the room it needs to store stuff without any overhead in organization.
Fragmentation: 0%
Hit Rate: 99.9%
Miss Rate: 0.1%
Free Memory: ~40%
One of our AJAX calls was weirding out, demanding more work from the server than it actually needed. Impact was quite a lot. This is fixed, resulting in more room to serve actual needed demands, hence more users on the site are supported, upto 2X.
User stays (5mins) + Takes action (every 30secs)
50% less resource consumption
Wishlist doesn't let us use traditional & very-reliable persistent storage meant for WordPress. We built our own persistent storage solution that can hold some stuff persistently, hence one of the component works 33% faster now!
33% Faster
Before: Average response time was ~700+ms with occasional spikes beyond 1000ms.
After: Average response time ~589ms with no more occasional spikes.
Working at top notch condition. Extra rules for the last mile boost is already implemented.
Working at top notch condition. No extra configuration required.
Serving lots of JS + CSS files makes the site speed slow by handling them one-by-one. Merged & Compressed JS + CSS files are served faster in a single request rather than multiple requests, which makes the site speed fast.
Homepage: 154 133 Coaching Menu: 116 95 Privacy Page: 110 91 About Page: 110 89 Contact Page: 110 90 FAQ Page: 110 90 Posts Detail: 376 359 Article Pages: 111 92
Homepage: 1.2MB 1.2MB Coaching Menu: 2.2MB 2.1MB Privacy Page: 803KB 738KB About Page: 811KB 744KB Contact Page: 804KB 738KB FAQ Page: 814KB 748KB Posts Detail: 1.7MB 1.7MB Article Pages: 931KB 866KB
Homepage: 24 JS + 7 CSS => 13 JS + 3 CSS Coaching Menu: 22 JS + 7 CSS => 12 JS + 3 CSS Privacy Page: 21 JS + 7 CSS => 11 JS + 3 CSS About Page: 21 JS + 7 CSS => 11 JS + 3 CSS Contact Page: 21 JS + 7 CSS => 11 JS + 3 CSS FAQ Page: 21 JS + 7 CSS => 11 JS + 3 CSS Posts Detail: 23 JS + 7 CSS => 13 JS + 3 CSS Article Pages: 21 JS + 7 CSS => 11 JS + 3 CSS