Pricing Blog

Update the value of a specific attribute from an object stored in the cache

  • jehex-1407274991656894544

    Jehex

    9 days ago

    Hi there, Im currently store an object into the local storage for each of my " influencers " who contain some of their infos and allow me to load way faster some pages.

    The name use for store theses datas are currently "conversation_{name} " ( concatenation ) so I basically have objects stored into my local cache under this form "conversation_emilie" "conversation_kelly" "conversationjulia" etc...

    Would like to know how can I update a specific attribute of this object for all existing influencers ( so object conversation
    {name} stored in the cache )

    lets said I want to attribute "numberfollowers" for each existing objects conversation{name} , thanks a lot