Use virtual servers
Instead of using a dedicated server for each project, and loading it up to 20% of its capability, pool machine resources through a hypervisor. One physical machine can offer the same service as 4 dedicated servers at 20%. This optimizes the use of the processor and RAM while consuming less electricity than multiple physical servers. This method also reduces the amount of electronic waste (WEEE) generated by the website.
Use anonymous functions
JavaScript allows for anonymous functions, and these should be used whenever possible without putting the project’s maintainability at risk. This way, the interpreter no longer needs to resolve the function’s name.
Be aware that this is only good practice when the function is used once. Any function used more than once should be named.








