Citymonstret/Kvantum

Lazy-load template variables

Opened this issue · 0 comments

Instead of storing them in a map, load them on request. It will go as follows:

  • if ( request ) -> request
  • if ( meta ) -> meta
  • else:
    • model
    • external

Factories should be cached.

Reason:

  • Avoid reading values when not needed.