Skip to main content
File Transfer Pavan is built with React 18, TypeScript, and Vite 5. The Supabase backend provides PostgreSQL, authentication, storage, and edge functions. This page covers the full technology map, performance optimizations, and the directory layout of the source code.

Technology Map

Performance Optimizations

File Transfer Pavan uses several techniques to keep bundle sizes small and page loads fast.

Code Splitting

Every route except the landing page is lazy-loaded with React.lazy(). The landing page is eagerly loaded to improve Largest Contentful Paint.

Manual Rollup Chunks

Vite splits vendor dependencies into six manual chunks so that changes in your application code do not invalidate the vendor cache.

Terser Minification

Production builds use Terser with aggressive compression: console logs and debugger statements are dropped, two compression passes are applied, and comments are stripped.

Deferred AI Chat

The AI Chat Widget is deferred with requestIdleCallback, which means it only initializes after the browser is idle. This keeps the initial render fast.

Signed URLs

Supabase Storage signed URLs expire after one hour. This limits exposure windows for shared files.

Parallel Uploads

The upload service processes three files concurrently.

PWA Service Worker

The Vite PWA plugin uses Workbox. Google Fonts are cached for one year through a runtime caching strategy. Static assets are cached on install.

Project Structure