Medium
In the development of a Node.js e-commerce web application with HTML pages of more than 1mo you are looking to optimize performance to handle high traffic and provide a fast user experience.
Your server is at 60% of its maximum capacity at peak times.
What are the two best practices to apply to achieve this goal? (Choose two answers)
Edit
8
Community EvaluationsNo one has reviewed this question yet, be the first!
1
Start a REPL session on Node.js1
When creating an HTTP server with Node, we use the **createServer()** function. We can pass a function to **createServer()** that will react to incoming requests. What arguments does this function receive?2
Which class is used to create custom events in Node.js?1
What does npm mean?2
Write a Node.js code that emits an event and logs it to the console.2
Install a NPM package via CLI4
How to start a NodeJS server