Apache Software Foundation

Website load time

Had this problem during WFM Course, when I used a free server to host the project. Usually free servers are shared with many users and most common problem that occurs is website loading time. To solve this problem: ● We can use a dedicated server ● Google’s PageSpeed Insights ○ Analyzes content of the sites ○ Determines elements that are slowing the site

I implemented a custom WebSocketAppender for log4j. Log messages were escaped using String.escapeHtml4, newlines were replaced with <br>.
Depending on the log level, messages where printed in bold (WARNING) or in red (ERROR or FATAL).
Events that were considered a problem that needs the user's attention were explicitly stored in a collection, and written to the websocket at the end when the program was done.



Subscribe to Apache Software Foundation