Changes between Initial Version and Version 1 of Ticket #43525, comment 3
- Timestamp:
- 03/12/2018 10:50:28 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43525, comment 3
initial v1 5 5 Yeah, exactly. Most shared servers would have enough resources to generate WPs default image subsizes, but when themes and plugins start adding more and more it becomes pretty intensive. 6 6 7 Thinking we'll probably do wp_cron in combination with "self requests" to trigger it right after an image is uploaded (some smaller or cached sites may not get the necessary "hits" soon enough). Of course sthere will be some sensible limit on this wp_cron loop. Also if there is an error we will have to set it on the attachment post (meta) and display in the UI so the user can retry.7 Thinking we'll probably do wp_cron in combination with "self requests" to trigger it right after an image is uploaded (some smaller or cached sites may not get the necessary "hits" soon enough). Of course there will be some sensible limit on this wp_cron loop. Also if there is an error we will have to set it on the attachment post (meta) and display in the UI so the user can retry. 8 8 9 9 There should also be a way for the user to retry creating just the missing sizes. We may actually be able to fix this by getting the user more involved in the process. Adding a check if all files have been created, outputting an error when not, and a button to try to create the rest.