Scheduling doesn’t work due to caching?

wp_schedule_event is only run when your site is visited and the scheduled time has past. If varnish is serving a non expired cached page then your visitor is not hitting WordPress. Schedules a hook which will be executed by the WordPress actions core on a specific interval, specified by you. The action will trigger when … Read more

How do I serve fully cached full HTML on cloudfront

Yes, you can serve HTML through CloudFront as long as you don’t mind every user getting the same content until the cache expires. It completely depends how your caches are being stored. I can’t imagine a CDN that would not support this. They might not advertise it since many web sites are dynamic and can’t … Read more

How to specify expiration of cacheable resources? [closed]

Keeping the answer within the wordpress realm, your best bet is to install W3TC and use that plugin to optimize your speed. Even with the default settings you’d already be gaining a lot. If you want to delve further you can keep tweaking the settings within the plugin. The next step to take would be … Read more

Jetpack stats and caching strategy [closed]

Let me quote what’s mentioned in the official FAQ of WordPress.com Stats plugin (JetPack statistics module uses this plugin as the base)… The plugin collects stats via a javascript call, so as long as the JS call is on the page stats will be collected just fine, whether the page is cached or not. In … Read more

Browser cache for dynamic content (list of tags)

WP has multiple caching APIs really. For caching of data, that can be easily rebuilt, Transients API is typically used. However it’s up to you how to architecture interaction with your script. WP exposes Ajax endpoint but its performance is questionable if you need extremely fast responses.