BeaconCMS / BeaconCMS/beacon

Content API - only save if there are actual changes

Open
#620 0 comments 0 reactions 0 assignees View on GitHub
area:content enhancement good first issue
Dominant language
Elixir
Stars
1.3k
Forks
134
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

Open the contributing guide

Research direction

Locate the Content API's update action and trace how it loads the latest saved version and persists incoming data. Compare those values before the loading and database-saving steps; done means equal updates perform neither operation, while changed data still updates normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.