Repository navigation
1.0.1
Faster pages, mainly in RSS feed mode.
Install or upgrade: download purdue-calendar-embed-1.0.1.zip below and upload it with Plugins → Add New Plugin → Upload Plugin. When upgrading, choose Replace current with uploaded.
Changes
- No more waiting for the feed. When the cached events are more than 10 minutes old, the block now shows them right away and fetches the update in the background with WP-Cron. Before, whoever loaded the page at that moment waited for the ~2 MB feed to download and process, which could take 10–15 seconds. A feed is fetched on the spot only when nothing is cached yet, usually while the block is being set up in the editor.
- Much lighter list thumbnails. The list layout now uses Localist's 200×150 and 300×225 photo sizes instead of the 750 px original: about 850 KB down to about 106 KB for five events. The cards layout is unchanged.
Sites that turn off WordPress's built-in cron trigger (DISABLE_WP_CRON) need a server cron job running WP-Cron, as they would for anything else scheduled.