MagicDuel

New caching system in test with the right bar

Announcement 4728 · · posted by Chewett · Stage 14
Over the past week I have moved over the entire right bar set to use a new type of Javascript loading/caching called webpack.

It should provide us with a lot of functionality including, but not limited to:
* Minification - aka it parses all the JS and makes it smaller
* MVC - Allows easier abstraction of controller logic for better MVC
* Code sharing - Using ES6 modules and imports really makes code sharing easy
* Intelligent caching - The smart caching means that it will split files served based on static analysis of the codebase. This means it will intelligently group files that a user needs on all pages. This will result in fewer requests for Javascript and should speed up things.

This is quite a big change which will need more testing but it looks pretty good so far. Please test out the sidebar and report any issues. If over the next week everything looks good I will merge everything into MD's master code.

Once this is proven to be working I will start converting over the flash elements we haven't changed to use the new system. Once everything but the scenes are converted I will focus on them.