Home / Companies / Vercel / Blog / November 2023

November 2023 Summaries

9 posts from Vercel

Filter
Month: Year:
Post Summaries Back to Blog
To create fast websites, it's essential to measure and optimize server speeds and minimize client burden. This can be achieved by pre-rendering pages at build-time or using partial prerendering to serve static parts while streaming dynamic bits. Caching fetch requests can also help reduce server response times. To speed up page render, minimizing JavaScript bundle size, reducing the impact of hydration, and loading fonts and images efficiently are crucial. Tools like `next/image` can be used to optimize image loading, and solutions like Mux or Cloudinary can help with video delivery. Finally, providing optimistic UI feedback for user interactions can make websites more engaging and improve overall performance.
Nov 29, 2023 2,230 words in the original blog post.
The headless approach, used by Commerce-UI, gives brands control over their digital experience, allowing them to fine-tune performance optimizations and application decisions without platform constraints. This approach uses Next.js for the frontend, Shopify's powerful commerce engine, and Vercel for deployment, enabling seamless integration of design elements with backend functionality. By separating the presentation layer from the backend, Commerce-UI unlocks flexibility and innovation, empowering brands to create unique online shopping experiences that truly represent their brand. The combination of Next.js, Vercel, and Shopify enables fast iteration velocity at scale, allowing clients to innovate quickly without redeploying their site. With automatic infrastructure and caching mechanisms, Vercel delivers seamless beauty and performance, ensuring a smooth, fast, and personalized shopping experience for each user.
Nov 28, 2023 1,122 words in the original blog post.
The Frontend Cloud is a developer's guide to building future-proofed stacks by automating away behind-the-scenes hassles of creating and growing dynamic websites. It provisions global infrastructure based on existing application code, massively increasing developer velocity, allowing teams to experiment safely and meet shifting market demands. The concept of frontends has grown more complex, and decoupling them from backends offers benefits such as faster scaling, iteration, and better developer and user experiences. Frameworks like Next.js, Nuxt, or SvelteKit offer sensible defaults for underlying code, providing the latest optimizations from tech communities. The Frontend Cloud's true differentiator is automatic infra, which standardizes infrastructure according to framework-defined infrastructure (FdI) powered by serverless architecture, allowing developers to write backend-connecting APIs or access backend data directly from their frontend code.
Nov 21, 2023 1,807 words in the original blog post.
The Frontend Cloud is a solution that automates away the behind-the-scenes hassles of creating and growing dynamic websites by provisioning global infrastructure for developers based on their existing application code. This approach massively increases developer velocity, allowing teams to experiment safely and meet shifting market demands. The Frontend Cloud is decoupled from backend systems, enabling faster iteration, better developer and user experiences, and more predictable build outputs. It utilizes framework-defined infrastructure (FdI) and serverless architecture to provide a standardized and efficient way of building frontend applications. This approach redefines web development for the modern enterprise, offering a future-proofed technology stack that can be easily on boarded by new talent.
Nov 21, 2023 1,887 words in the original blog post.
Scaling a large codebase requires careful consideration of various factors such as organization, reuse, experimentation, and deployment. Monorepos are an effective way to organize and reuse code across teams, enabling faster iteration velocity and reduced build times. Feature flags provide confidence in releasing new code without affecting existing versions, while incremental builds with Turborepo enable reusing work that's already been completed, reducing the need for repeated computations. Skew protection ensures that different versions of the application run on client and server, preventing version skew issues. By adopting these strategies, teams can achieve faster iteration velocity, adopt new technology more easily, and share code across different parts of the UI, ultimately leading to a successful transformation of their large codebase.
Nov 16, 2023 2,004 words in the original blog post.
Partial Prerendering (PPR) is a new rendering model for web applications that combines ultra-quick static edge delivery with fully dynamic capabilities. It has the potential to become the default rendering model for web applications, bringing together the best of static site generation and dynamic delivery. PPR eliminates trade-offs by enabling fast edge delivery and dynamic data access from core data centers. With Next.js 14 on Vercel, developers can try an experimental preview of PPR and see how it works with popular frontend frameworks.
Nov 09, 2023 858 words in the original blog post.
Vercel's Frontend Cloud offers support for deploying complex and dynamic web applications with managed infrastructure, allowing developers to control and flexibly deploy without worrying about configuration and maintenance. The platform's workflow for collaboration and iteration removes pipeline dependencies, injects collaboration into the deployment process, and enables quick UI changes, decoupling deploys from releases. Vercel also provides seamless API and database integrations, supports a wide range of databases, and allows developers to change downstream providers as fast as changing an environment variable or API key. The platform prioritizes security with robust authentication systems, APIs, and Secure Compute capabilities, ensuring that customer data stays private and secure. Additionally, Vercel offers powerful compute, scalable architecture, monitoring capabilities, and instant rollbacks, enabling developers to build and deploy web applications quickly and efficiently.
Nov 06, 2023 1,133 words in the original blog post.
Next.js 14 has been released, featuring improved performance, including a 22% faster initial compile and a 29% faster code updates, thanks to the new Rust-based Next.js Compiler and Turbopack. The App Router now supports nested routes, layouts, and caching, making it easier for developers to build ambitious sites on the web. Experimental Partial Prerendering will be introduced into Next.js 14, allowing for fast initial visual and dynamic visual rendering without introducing any new APIs. The framework continues to simplify and abstract away complexity, providing a great developer experience.
Nov 06, 2023 1,113 words in the original blog post.
Cookies are small pieces of data stored by web browsers on a user's device at the request of web servers, allowing servers to "remember" specific user information and facilitating functionalities like maintaining user sessions and tracking user behavior. The Set-Cookie response header determines how the browser will treat cookies, with attributes such as Name and Value, Domain and Path, Expires and Max-Age, Secure, HttpOnly, and SameSite defining their scope, expiration, and security settings. Prioritizing security when working with cookies is essential, involving practices like using Secure and HttpOnly attributes, setting appropriate SameSite values, limiting cookie lifespan, avoiding sensitive data, inspecting and debugging cookies to identify potential issues, and utilizing browser developer tools for streamlined cookie management.
Nov 01, 2023 631 words in the original blog post.