# Local File Context Stores Load

**URL:** <https://discourse.nodered.org/t/local-file-context-stores-load/47968>\
**Category:** General\
**Created:** [3 July 2021 09:48 UTC](https://discourse.nodered.org/t/local-file-context-stores-load/47968 "2021-07-03T09:48:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soloam](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/soloam/32/9834_2.png) [@Soloam](https://discourse.nodered.org/u/Soloam)\
**Post date:** [3 July 2021 09:48 UTC](https://discourse.nodered.org/t/local-file-context-stores-load/47968/1 "2021-07-03T09:48:00Z")

</div>

Hello, I have a question regarding Local File Context Stores. When are the values loaded into memory? From what I understand the values are stored in memory and saved to file every 30s.

When nodered starts is Local File Context Stores loaded before the flows start handling messages? Or are they immediately accessible when the flows start?

Thank you

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [3 July 2021 09:51 UTC](https://discourse.nodered.org/t/local-file-context-stores-load/47968/2 "2021-07-03T09:51:10Z")

</div>

The stores are initialised as part of the runtime startup before the flows are started. So to answer you question directly, the files are read into memory before the flows start.

---

<div class="post-metadata">

**Author:** ![Soloam](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/soloam/32/9834_2.png) [@Soloam](https://discourse.nodered.org/u/Soloam)\
**Post date:** [3 July 2021 10:04 UTC](https://discourse.nodered.org/t/local-file-context-stores-load/47968/3 "2021-07-03T10:04:50Z")

</div>

Thanks @knolleary ... That's exactly what I wanted to read!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 September 2021 10:05 UTC](https://discourse.nodered.org/t/local-file-context-stores-load/47968/4 "2021-09-01T10:05:29Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
