swissspidy / media-experiments

WordPress media experiments
GNU General Public License v2.0
84 stars 1 forks source link

Lock images during optimization #488

Open swissspidy opened 4 months ago

swissspidy commented 4 months ago

When optimizing an existing image in the editor, "lock" it with some post meta entry or something so that someone else does not attempt to do the same thing too at the same time.

swissspidy commented 2 weeks ago

Probably not needed because

a) The original attachment is not modified when compressing it. * b) The same image can be optimized multiple times with different configurations, see #239

* Except for adding the mexp_optimized_id meta entry. But that should be removed