Skip to content

Next.js Build Optimization #9636

Description

@arii

Update next.config.js with the following settings: 1. Enable image compression for AVIF and WebP formats. 2. Set minimumCacheTTL to 60. 3. Enable response compression (compress: true). 4. Implement aggressive chunk splitting by setting webpack config optimization.splitChunks.maxSize = 100000. Estimated size saved: 100-200KB.


Priority: High | Effort: Medium

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions