Skip to content
Will your site survive Black Friday? Free peak-readiness audit →
DEVELOPMENT

Don’t store runtime timestamps in Magento configuration

Writing heartbeat timestamps or runtime state into Magento configuration invalidates config cache and causes unnecessary churn. Use flags or a dedicated table instead.

By VISIBI Engineering team·Reviewed by Saeed Ak, Co-founder & CTO·Updated 29 September 2026·6 min read
QUICK ANSWER

Writing heartbeat timestamps or runtime state into Magento configuration invalidates config cache and causes unnecessary churn. Use flags or a dedicated table instead.

FROM OUR ENGINEERING WORKREAL CASE

A custom integration saved heartbeat timestamps into Magento configuration. Moving that runtime state into Magento flags stopped needless configuration cache invalidations.

KEY TAKEAWAYS
✓Configuration is for settings, not frequently changing runtime data.
✓Config writes can invalidate the configuration cache.
✓Magento flags or a custom table are better places for runtime state.

The problem

Some integrations save “last run” timestamps into core_config_data on every run. Each save can trigger config cache invalidation, forcing Magento to rebuild configuration and adding avoidable load.

RELATED GUIDEFlutter vs React Native in 2026: which should you choose? → Need reliable ecommerce support?Patches, upgrades and fixes from certified developers.Get a free store health check →

Better options

  • Magento flag model for simple runtime values
  • A dedicated table for integration state
  • Application logs for history
  • Monitoring tools for heartbeats

Common mistakes to avoid

✕Starting to build before requirements and success metrics are clear
✕Not owning your code, repositories and accounts
✕Skipping automated tests to save time
✕Choosing technology the market can’t hire for
HOW VISIBI CAN HELP

How we help with development

01DiscoveryClear scope, architecture and estimates before code is written.
02Build in sprintsWeekly demos so you see progress and can change direction.
03Test & releaseAutomated tests and CI/CD for safe, frequent releases.
04SupportNew builds, enhancements, takeovers and ongoing maintenance.
Get a free store health check →Free · No obligation · Reply within 24 hours

Frequently asked questions

How do I know if config cache is churning?

Frequent config cache invalidations in logs or monitoring are a sign.

Is this only a performance issue?

Mostly, but it can also make behaviour harder to predict.

Can you audit custom modules?

Yes — as part of a code audit.

SA
Reviewed by Saeed Ak · Co-founder & CTO25 years engineering high-traffic ecommerce, cloud and security platforms. Written by the VISIBI Engineering team.Meet the team →
Was this guide helpful?
Share:LinkedInXEmail
RELATED SERVICES

Keep reading

DEVELOPMENT · 8 MINFlutter vs React Native in 2026: which should you choose?Read →DEVELOPMENT · 8 MINHow much does it cost to build a mobile app in the UK?Read →DEVELOPMENT · 8 MINPython vs Laravel vs Node.js: choosing a back end in 2026Read →
FREE · NO OBLIGATION

Need reliable ecommerce support?

Patches, upgrades and fixes from certified developers.

Get a free store health check →Talk to a specialist
✓ Senior specialist, not a bot✓ Reply within 24 hours✓ Clients in 18 countries
CODE HEALTH CHECKEXAMPLE
What we find in a typical takeover
Outdated dependencies27
Unused code paths14
Automated testsNone
Your free review shows your real numbers.