statamic / cms

The core Laravel CMS Composer package
https://statamic.com
Other
4.11k stars 538 forks source link

[5.x] Prevent unnecessary requests to the Outpost when PHP version is different #11137

Closed duncanmcclean closed 1 week ago

duncanmcclean commented 1 week ago

This pull request prevents unnecessary requests from being made to the Outpost when the PHP version in the payload differs from the cached version.

For example: if you have a load balanced setup w/ multiple servers and you're rolling out PHP updates one at a time, your users might see the licensing banner if the Outpost's rate limiting kicks in.

Closes #11135.