-
Notifications
You must be signed in to change notification settings - Fork 73
Enable image optimization and basic caching to improve page load speed. #319
Copy link
Copy link
Open
Labels
Only Dustfor issues along the month, after the od week endsfor issues along the month, after the od week ends
Description
📑 Issue Summary
Enable image optimization and basic caching to improve page load speed.
🏷️ Type of Issue
- Bug
- Feature Request
- Performance
- Documentation
- Security
- Other (please specify)
🔎 Current Behavior
- Images are not optimized for web (large file sizes).
- No caching headers set for static assets.
✅ Expected Behavior
- Compressed images for faster loading.
- Browser caching enabled for static assets (images, fonts, CSS, JS).
📝 Files to Edit
vite.config.js– Add an image optimization plugin.public/– Replace heavy images with optimized versions.index.html– Add basic caching meta tags if needed.
🧭 Steps / Acceptance Criteria
- Install and configure an image optimization plugin for Vite.
- Convert large
.png/.jpgassets to.webpor.avifwhere possible. - Ensure long-lived cache headers for static assets are applied.
- Verify Lighthouse performance score improves for “Performance” and “Best Practices”.
📒 Notes
- 🖼️ Prefer
.webp/.aviffor hero and gallery images. - ⚖️ Keep acceptable visual quality; prioritize meaningful size reductions.
- 🧹 Remove any unused large images from the repo.
Make sure to access the Contributor Guideline before proceeding.
Before you make a draft PR, please check the GIT Guideline to ensure your changes align with the project's standards.
Conventions
- Use kebab-case for file and folder names.
- Use
@/aliases for imports (avoid relative paths). - Review the organization of the pages to ensure everything is correct.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Only Dustfor issues along the month, after the od week endsfor issues along the month, after the od week ends