-
Notifications
You must be signed in to change notification settings - Fork 126
Reduce zip file size #401
Description
When I removed the files necessary for development from this repository and converted it to a zip file, I found that the file size in my environment was 14.711 MB.
The theme directory does not mention any requirements regarding file size, but the maximum size of a zip file that can actually be uploaded to the theme directory is 10 MB:
Although there is a file size limit for the theme directory, it seems strange that the default theme exceeds that size.
One approach to reducing the size might be to convert to the AVIF image format proposed in #383.
The /assets/fonts directory (about 8 MB) and /assets/images directory (about 6 MB) take up most of the overall size.
Incidentally, the file sizes when downloading the wordpress-develop theme directory and converting each theme to zip are as follows:
| Theme Name | Zip File Size |
|---|---|
| Twenty Twenty-Four | 2.896MB |
| Twenty Twenty-Three | 2.160MB |
| Twenty Twenty-Two | 5.818MB |
| Twenty Twenty-One | 2.783MB |
| Twenty Twenty | 1.005MB |
| Twenty Nineteen | 0.620MB |
| Twenty Seventeen | 2.115MB |
| Twenty Sixteen | 1.807MB |
| Twenty Fifteen | 4.230MB |
| Twenty Fourteen | 2.173MB |
| Twenty Thirteen | 1.764MB |
| Twenty Twelve | 1.192MB |
| Twenty Eleven | 1.238MB |
| Twenty Ten | 1.097MB |
