BeaconCMS/beacon

Content API - only save if there are actual changes

Open

#620 opened on Oct 24, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Elixir (120 forks)batch import
area:contentenhancementgood first issue

Repository metrics

Stars
 (1,194 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

For every "update" action on the Content API it should check if there are actual differences between the latest saved version and the data being updated and skip if the data is equal.

  • Do not trigger the loading mechanism that demands server resources
  • Save DB resources by not inserting unnecessary data

Contributor guide