feat: enhance image loading performance by adding fetchPriority and loading attributes in multiple components, and update MUI icons chunking in webpack configuration

This commit is contained in:
sebseb7
2025-07-20 15:05:29 +02:00
parent d3998133e5
commit a68d912c99
8 changed files with 17 additions and 10 deletions

View File

@@ -132,6 +132,8 @@ class Images extends Component {
component="img"
height="400"
image={getImagePath(this.props.pictureList)}
fetchPriority="high"
loading="eager"
sx={{
objectFit: 'contain',
cursor: 'pointer',
@@ -170,6 +172,8 @@ class Images extends Component {
<CardMedia
component="img"
height="400"
fetchPriority="high"
loading="eager"
sx={{
objectFit: 'contain',
cursor: 'pointer',