Making WordPress.org

Changes between Version 1 and Version 2 of Ticket #1116


Ignore:
Timestamp:
07/09/2015 11:23:04 PM (9 years ago)
Author:
iandunn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1116 – Description

    v1 v2  
    1 The plugin uses the mShots service to generate the site screenshots, but those are built asynchronously when the first request is received, and then cached for 24 hours.
     1The plugin uses the mShots service to generate the site screenshots, but those are built asynchronously when the first request is received, and then cached for 21 days.
    22
    3 Because of that, users will see the default `Generating screenshot...` image instead of the actual screenshot. To avoid that, we should have a network-wide cron job that makes non-blocking HTTP requests for each of the images every 23 hours, so that they're always available when a user needs them.
     3Because of that, users will see the default `Generating screenshot...` image instead of the actual screenshot. To avoid that, we should have a network-wide cron job that makes non-blocking HTTP requests for each of the images every 20 days, so that they're always available when a user needs them.
    44
    55The requests will need to append `requeue=true` to the URL, to flush the cached image and generate a new one, resetting the cache expiration.