Best of PerformanceSeptember 2022

  1. 1
    Article
    Avatar of communityCommunity Picks·4y

    Making a fast website is SUPER EASY

    For a website whose goal is to convert customers by selling goods or services, the website should be attractive to look at. Images take up a huge part of the website's total size. As of August 2022, images made up on average 45% on desktop and 44% on mobile of a page’s total weight. Optimizing the images can therefore result in big and easy wins.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    Best Practices for Scaling Your Node.js REST APIs

    Use throttling at the first junction point between your application and the News Feed Service. Use the ELK stack for setting up a good logging and alerting pipeline. If a request goes through multiple services during the lifecycle, you can pass along a unique ID in the logs to capture a particular request across all the services.

  3. 3
    Article
    Avatar of asayerasayer·4y

    Working with Dates and Times with Day.js

    Day.js is a straightforward JavaScript tool for manipulating, displaying, and validating dates and times. It can be used in client-side and server-side rendering and works flawlessly in both scenarios. When we run Day. JS in the browser, the.format() method returns a string in ISO format. This is fairly similar to the vanilla JavaScript’s to ISOString() date constructor method.

  4. 4
    Article
    Avatar of logrocketLogRocket·4y

    Vite 3.0 vs. Create React App

    Vite is built on top of esbuild, a JavaScript bundler written in Go, which bundles dependencies 10-100 times faster than JavaScript-based bundlers. Vite leverages the browser’s native ESM to parse and compile your code as the browser requests it. The browser only needs to pre-bundle your dependencies.

  5. 5
    Article
    Avatar of communityCommunity Picks·4y

    Islands Architecture

    Islands architecture borrows concepts from different sources and aims to combine them optimally. Marko is an open-source framework developed and maintained by eBay to improve server rendering performance. Astro: Astro is a static site builder that can generate lightweight static HTML pages from UI components built in other frameworks such as React, Preact, Svelte,

  6. 6
    Article
    Avatar of communityCommunity Picks·4y

    Here's how I increased a website performance by 21%!

    The total fontawesome package v5.1 is approximately about 12mb (don't worry, we aren't using all!)

  7. 7
    Article
    Avatar of communityCommunity Picks·4y

    React useMemo() guide with examples

    UseMemo() is a function that returns a memoized value of a resource-intensive function. In this post, we dive into the details of the useMemo hook with an extension of the previous post titled Memo Let's. We are asking the hook to renew the memo when updatedPosts changes. In the <Blog/> component, we have a Get Latest Post button.

  8. 8
    Article
    Avatar of communityCommunity Picks·4y

    How To Manage React States Like A Pro

    The ‘secret’ behind excellent state management is understanding how your app maps state to the app’s tree structure. The technique is called the state reducer pattern. It allows you to add your own custom logic to handle complex states in React seamlessly.

  9. 9
    Article
    Avatar of asayerasayer·4y

    Four top Front End Monitoring Tools for your Website

    Front-end or front-end application monitoring includes the process and tools for tracking and managing an application’s presentation layer. It also helps fix websites, native apps, and web apps by discarding potentially harmful errors. For example, NGINX Amplify, a SaaS-based monitoring tool, monitors performance.

  10. 10
    Article
    Avatar of communityCommunity Picks·4y

    Why our websites are slow — Importance of bundle size

    A new story tells the impact of bundle size on application performance and a mind-boggling story to understand why websites can be slow. The story begins way back exactly one year ago. For one year I have covered so many stories on react application optimisation but today I have a new perspective on seeing react applications.

  11. 11
    Article
    Avatar of flutterdevsFlutterDevs·4y

    Flutter 3.3 — What’s New In Flutter

    Google has merged 5,687 pull requests in bringing live the Flutter 3.3 version of its cross platform mobile app development kit. Flutter now provides the easiness of selecting the whole data in the web apps with a single sliding gesture by wrapping your widgets with SelectableArea widget. Impeller is also available in having access to these deltas allows you to build an input field.

  12. 12
    Article
    Avatar of communityCommunity Picks·4y

    We measured the SSR performance of 6 JS frameworks - here's what we found.

    We measured the SSR performance of 6 JS frameworks to choose from. All demos are public and hosted on Netlify. The results were interesting, but just like Formula 1, it was often milliseconds that separated the good from the great.

  13. 13
    Article
    Avatar of vercelVercel·4y

    Serving millions of users on the new MrBeast storefront – Vercel

    Revolt, Shopify, Axiom and Vercel Vercel created the new MrBeast storefront for MrBeast. The site was built to support peak traffic, when peak traffic means a fanbase of over 100 million Youtube subscribers.

  14. 14
    Article
    Avatar of syncfusionSyncfusion·4y

    Optimize Next.js App Bundle and Improve Its Performance

    The Next.js app reduces the bundle size by 43% and increase the score to 73 from 36 in Google’s PageSpeed Insights. The First Load JS files contain framework code and the code that is used by multiple pages. The Google Ads script usually blocks the main thread, so we are going to load the script eight seconds after the page load. Initially, we were using the react-gpt package to load.

  15. 15
    Article
    Avatar of gcgitconnected·4y

    7 Best Tools for Monitoring Node.js Servers.

    There are several tools available for monitoring servers, but few are designed specifically for Node.js. In this post, we will discover the 7 best of them. PM2 PM2 is a potent instrument to run Node applications, but it is also very good at maintaining and monitoring standalone applications in production servers.

  16. 16
    Article
    Avatar of logrocketLogRocket·4y

    Comparing the 7 best ORM packages in Go

    The GORM (Go-ORM) package is the most popular ORM package in the Go ecosystem. The SQLC package provides database queries, transactions, configurations, and functionalities. The Beego ORM is a powerful ORM inspired by popular Python ORMs, like the Django ORM and SQLAlchemy.

  17. 17
    Article
    Avatar of medium_jsMedium·4y

    Create Forms in React Without Stress

    Formik, React Hook Form, and React Final Form are the most popular options. The most challenging part here is choosing the right option for your project. The simple way for managing validation, errors, list of modified fields, and more is a simple hook.

  18. 18
    Article
    Avatar of chromeChrome Developers·4y

    What's New In DevTools (Chrome 106)

    DevTools now shows the operation originates from the onClick event in the button component, then the increment function, followed by the timeout operation. The call stack shows only frames from your code (e.g. app. app) Use these timings information to understand and identify an opportunity to improve LCP performance. The Recorder panel now automatically generates a name for new recordings. The Styles pane now displays a color picker.

  19. 19
    Article
    Avatar of hnHacker News·4y

    GPU Mining No Longer Profitable After Ethereum Merge

    The best graphics cards should finally be back where they belonged, in your gaming PC. That's a quick drop, considering yesterday there were still a few cryptocurrencies that were technically profitable. Buying a used graphics card looks like it's set to become far. This often means keeping the cards near their limits by using fan curves that keep them near their thermal limits.

  20. 20
    Article
    Avatar of logrocketLogRocket·4y

    Improving Next.js app performance with BlurHash

    The time it takes a web app to load to the client depends on how long it takes to serve its application code, styles, and data. For example, you could use server-side rendering to render the initial HTML of your web page on the server side before delivering it to the browser, use the Next.js. The amount that BlurHash impacts page speed can vary based on several factors.

  21. 21
    Article
    Avatar of communityCommunity Picks·4y

    Async/Await Programming Basics with Python Examples

    Async/await is today’s most widespread type of concurrency operator. The code is not very robust, but we don’t care about that for now, because we’re focusing on the performance of blocking versus non-blocking code. After the rewrite, we might think we improved performance just by the same thing we did for add_new_win.

  22. 22
    Article
    Avatar of redislabsRedis·4y

    3 Reasons Why Your MySQL Database Needs Redis

    Redis Enterprise is a free, free, open source database solution until… it isn’t. It’s very common for products and services to eventually run into issues with performance, scaling, and innovating outside of the rigid SQL-based environment.

  23. 23
    Article
    Avatar of communityCommunity Picks·4y

    Techniques for bypassing CORS Preflight Requests to improve performance

    Techniques for bypassing CORS Preflight Requests to improve performance CORS (Cross Origin Resource Sharing) enables web apps to communicate securely across origins. If you don't have full control over the target backend, this may prove complex or infeasible. If your web application makes a single call to the cross-origin backend, the benefits of this technique diminish due to complexity and the overhead. If you have multiple requests. This technique may work better.

  24. 24
    Article
    Avatar of communityCommunity Picks·4y

    Bursting the Microservices Architectures Bubble

    A microservices architecture is an application development strategy that breaks application functionality into a suite of services. This is the opposite of what's known as a monolithic architecture, in which your entire application runs as a single process. There is no one right way to design a microservices app, nor are there specific tools, programming languages, or programming languages.

  25. 25
    Article
    Avatar of chromeChrome Developers·4y

    What's New In DevTools (Chrome 107)

    The Memory Inspector highlights all the bytes of a C/C++ memory object in the Memory Inspector. Chrome 106 - Group files by Authored / Deployed in the Sources panel - Linked stack traces for asynchronous operations.