CLOUDFEST 2023 HACKATHON PROJECT

Eco-mode: Reduce outgoing network traffic of your WordPress server

Project Description

Recurring outgoing HTTP requests in WordPress can be a source of needless energy and bandwidth usage that can be recalibrated and optimized.

This project intends to optimize those recurring requests by hooking into wp_*_remote_get|post calls and/or the Requests library that ships with WordPress to monitor and control such requests.

A management console will be built through which the user can throttle how often recurring remote requests are happening—for example, checking a certain plugin’s updates weekly instead of daily.

There will be automatic optimization by using a hard-coded list of hooks we know we can safely throttle, as well as manual optimization by providing a UI for users to fiddle with stuff even if we don’t know about it, at the user’s responsibility. Moreover, we can identify which requests were fired during a cron process, which makes them a great candidate for automatic throttling.

Lastly, we can try to calculate/guesstimate the energy and bandwidth usage and show reports on how much you can save with certain settings.

Target Audience

Experience with PHP is needed, preferably but not necessarily coupled with WordPress experience.

Experience with JS is welcomed, to help with building the dashboard.

General web development experience is appreciated, around calculating and optimizing energy and bandwidth usage in applications.

Hackathon Goals

The goal is to create a canonical plugin (https://make.wordpress.org/core/2022/09/11/canonical-plugins-revisited/) that is extensible, with smart defaults for everyday users and hides all manual controls behind an “Advanced” switch. This plugin, when enabled, will potentially save a lot of bandwidth and energy by optimizing redundant outgoing HTTP requests—without breaking anything.

Project Leads
Leonidas Milosis

Plugin Developer at Yoast

Diede Exterkate

Senior Developer at Yoast

#WordPress
#PHP
#SiteHealth
#Performance

Other Projects

What is the CloudFest Hackathon?

CloudFest 2024 Tickets

Standard Pass

399 € excl. VAT
March 18 – 21, 2024

The Standard Pass is like general admission at a sports stadium or concert: you get the run of the venue, plus free lunch and coffee breaks; as well as free shuttle service from Offenburg.

Benefits

  • Access to the entire CloudFest venue at Europa-Park and its hotels, March 18 – 21, 2024.
  • Invitation to all of the main parties networking events
  • Event bag with CloudFest documentation
  • Participation in Keynote, Breakout, and Masterclass tracks, and Exhibition Hall
  • Catering, including lunch and coffee breaks
  • Free shuttle from Offenburg to Rust and back

VIP Pass

999 € excl. VAT
March 18 – 21, 2024

The VIP Pass is like box seats at a sports stadium or convert: you get everything included in the Standard Pass, plus VIP-only perks like free shuttle service around Europa-Park in high-end cars.

Benefits

  • All benefits from the Standard Pass
  • Chauffeured luxury car service between venues and EP hotels
  • Exclusive high-level networking events
  • Hotel VIP treatment and concierge service
  • Access to VIP Lounge
  • Special lunch restaurant with gourmet catering

Newsletter

Subscribe to our newsletter and get a free ticket to CloudFest 2023. We’ll keep you up to date on the event you’re about to attend! Oh, and studies prove that subscribing makes you more awesome.

© 2023 – CloudFest | All rights reserved