What is caching?

后端 未结 9 1865
鱼传尺愫
鱼传尺愫 2020-11-28 17:49

I\'m constantly hearing about person y had performance issue x which they solved through caching.

Or, how doing x,y,z in your programs code can hurt your caching abil

9条回答
  •  南方客
    南方客 (楼主)
    2020-11-28 18:35

    It's probably easier than you could imagine--and that's why people are trying to close it.

    It just means to store the values in your memory rather than go back to the database for them every time.

    There are lots of ways to do so, but the concept itself is trivial.

    Edit: It can be done at ANY level too--anything that takes a long time can be cached somewhere that you can get to more quickly.

提交回复
热议问题