Create a function to delete images of products that are not in use from the images folder. It is useful for those who migrate from PS, since some versions of the PS contain Bugs that do not eliminate the images, when reactivating a product image.
Another case is when you change or delete an image size.
Things that allow to optimize page loading in Front and Back Office:
– Defer parsing of JavaScript.
– Remove query strings from static resources
– Lazy Loading Images
– Reduce HTTP Requests
– Combine of JS and CSS combining into one
– Use more Ajax functions expecial on back office