The process to register all image sets/sizes is time consuming, because it validates user settings array, parse retina options etc.
Would be great to save configured array of sizes inside cache and then load objects from cache.
Unfortunately final sizes are class objects, so it's not trivial to cache them.
The process to register all image sets/sizes is time consuming, because it validates user settings array, parse retina options etc.
Would be great to save configured array of sizes inside cache and then load objects from cache. Unfortunately final sizes are class objects, so it's not trivial to cache them.