Only push applet when necessary

Created on 13 April 2024, 11 months ago
Updated 27 April 2024, 10 months ago

Problem/Motivation

Currently, \Drupal\signageos\Plugin\DigitalSignagePlatform\SignageOs::pushApplet always pushes a new applet (or updates the existing one), even if nothing has changed. This is not the ideal scenario and we need to optimize that.

Proposed resolution

There are two attempts:

Either we change the applet structure and turn it into a static application where the variable components are controlled by configuration.

Or we store a hash of the binary before pushing it and later compare the "new" binaries hash with the previous one and only update the applet if the hash is different.

📌 Task
Status

Fixed

Version

2.5

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024