Skip to content

perf(Elements/Ingredients): Do not serialize timestamps - #229

Merged
tvdeyen merged 1 commit into
mainfrom
remove-element-ingredient-timestamps
Oct 27, 2026
Merged

tvdeyen merged 1 commit into
mainfrom
remove-element-ingredient-timestamps

Conversation

@mamhoff

@mamhoff mamhoff commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

We have the page timestamps, and have not needed element or ingredient timestamps in frontend apps ever. Since this data is often stored and cached, and a page can have many, many ingredients and elements, let's omit this data.

We have the page timestamps, and have not needed element or ingredient
timestamps in frontend apps ever. Since this data is often stored and
cached, and a page can have many, many ingredients and elements, let's
omit this data.
@tvdeyen
tvdeyen force-pushed the remove-element-ingredient-timestamps branch from 9f02928 to a382dc2 Compare October 27, 2026 15:22
@tvdeyen
tvdeyen enabled auto-merge October 27, 2026 15:22
@tvdeyen tvdeyen added this to the 8.4 milestone Oct 27, 2026
@tvdeyen tvdeyen added the enhancement New feature or request label Oct 27, 2026
@tvdeyen
tvdeyen disabled auto-merge October 27, 2026 15:24
@tvdeyen
tvdeyen merged commit f98c3e4 into main Oct 27, 2026
13 checks passed
@tvdeyen
tvdeyen deleted the remove-element-ingredient-timestamps branch October 27, 2026 15:24
@alchemycms-bot alchemycms-bot Bot mentioned this pull request Oct 27, 2026
@tvdeyen tvdeyen added performance Performance improvement and removed enhancement New feature or request labels Oct 27, 2026
@alchemycms-bot alchemycms-bot Bot mentioned this pull request Oct 27, 2026
tvdeyen added a commit that referenced this pull request Oct 27, 2026
## Release v8.4.0

<!-- Release notes generated using configuration in .github/release.yml
at main -->

## What's Changed
### New Features
* feat(serializer): lazy-load relationship data by default by @tvdeyen
in #203
* feat(PageSerializer): expose robot_index and robot_follow attributes
by @mamhoff in #223
* feat(LayoutPagesController): find layout pages by page layout by
@mamhoff in #227
### Bug Fixes
* fix(IngredientPictureSerializer): Use picture_url by @tvdeyen in
#214
### Performance Improvements
* feat: Cache ingredient serializers by @tvdeyen in
#186
* Route element visibility through ElementsRepository by @tvdeyen in
#196
* refactor: load elements through core's shared element repository by
@tvdeyen in #199
* perf(Elements/Ingredients): Do not serialize timestamps by @mamhoff in
#229

## New Contributors
* @github-actions[bot] made their first contribution in
#212

**Full Changelog**:
v8.2.2...v8.4.0
---
This PR was automatically created by the prepare-release workflow.
Once merged, the gem will be automatically published to RubyGems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants