If My website loads slowly, its because of the large image assets are stored directly in the public directory, a better approach i should do is to use a CDN-based asset strategy. Instead of serving every image directly from your application server, store the assets on a CDN or image-optimized storage service and reference them through mapped URLs.
This allows the browser to fetch images from geographically distributed edge servers, while the CDN can handle caching, compression, resizing, and format optimization. For image-heavy websites, this can significantly reduce the amount of data your application needs to serve and improve initial load times.