Skip to content

Comments

perf: optimize static file serving and centralize path resolution#59

Closed
MarcosBrendonDePaula wants to merge 1 commit intomainfrom
optimize-static-serving
Closed

perf: optimize static file serving and centralize path resolution#59
MarcosBrendonDePaula wants to merge 1 commit intomainfrom
optimize-static-serving

Conversation

@MarcosBrendonDePaula
Copy link
Collaborator

This PR optimizes the static file serving system by:

  1. Creating a centralized resolveStaticPath utility in core/utils/path-resolver.
  2. Refactoring static and vite plugins to use this utility, reducing code duplication.
  3. Adding Cache-Control header support to the static plugin for better browser caching.
  4. Improving path resolution logic for both development and production environments.

This commit introduces a centralized path resolver for static assets and adds Cache-Control support to the static plugin, improving performance and maintainability.
@MarcosBrendonDePaula MarcosBrendonDePaula deleted the optimize-static-serving branch February 21, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant