dfp calls entity_modified much too often

Created on 11 September 2016, almost 9 years ago
Updated 20 July 2025, 8 days ago

dfp calls entity_modified_last() a lot.

In case that it is operating on the object, that is fine, but in case the object does not have a modified property (like users), then a query is pushed.

Might consider statically caching the result of _dfp_token_replace_make_key() and in-face _dfp_prepare_tokens can be cached as well Drupal statically.

On the other hand, this should probably be fixed in entity_modified as we probably should statically cache the result there as well.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇩🇪Germany Fabianx

Live updates comments and jobs are added and updated live.
  • Performance

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024