The transformGifs config has helped us a lot to avoid a large GIF getting transformed on the front-end on the site and exhausting server resources. But it still seems like GIFs are still getting transformed even after the changes added in #3110.
On one particularly GIF-heavy site—if I visit the "Assets" area a list view of 5-10 GIFs ends up locking down the site until all resources are exhausted and it crashes.
If I add a
return "";
at the beginning of the getThumbPath() function it doesn't seem to be an issue. So I wonder if GIFs are still getting transformed in some way that's eating up server resources?
Well, this is a fun trip down the rabbit hole. By any chance, do you also have set the optimizeImageFilesize setting to false in your Craft config?
Never mind, that was an unrelated issue. I found your bug, sir.
Ah man, thanks so much @andris-sevcenko! I applied this change to the site and it seems like it's no longer an issue!
You're welcome! Now to fix the other bug I found... :)
Hey @andris-sevcenko — you might have seen this already but it looks like Brandon's change here undid the fix that corrected the slow GIF transformation. After updating to the latest version it looks like the slowness is re-occurring on our site. Not sure if there's another fix that could be implemented here?
@aaronbushnell yeah we have to release a new version of Imagine on our fork so it doesn't break in some other circumstances. Should be out this week definitely, I'll keep you posted!
Totally okay! Appreciate the help and let me know if I can test anything for ya!
We just released Craft 3.2.6 with the fix for this.
You all are awesome—thanks a ton!
Most helpful comment
Never mind, that was an unrelated issue. I found your bug, sir.