Conversation
- Modified `SmartEVSE-3/packfs.py` to exclude `.avif` files from gzip compression, as they are already compressed. Also generalized `.webp` exclusion. - Modified `SmartEVSE-3/src/mongoose.c` to add `image/avif` MIME type. - Modified `SmartEVSE-3/src/network_common.cpp` to add cache headers for `.avif` files.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
This change fixes the issue where AVIF output format was not working correctly. The issue was caused by
packfs.pygzipping.aviffiles, which led to incorrect Content-Type headers when served. Additionally, theavifMIME type was missing in Mongoose, and caching headers were not being set for AVIF files.Changes:
SmartEVSE-3/packfs.py: Added.avifto the exclusion list for gzip compression. Generalized the check for.webpfiles as well.SmartEVSE-3/src/mongoose.c: Addedavif->image/avifmapping tos_known_types.SmartEVSE-3/src/network_common.cpp: Added.avifto the list of file extensions that receive long-term cache headers.PR created automatically by Jules for task 17109649328954087629 started by @webdotpulse