Skip to content

Caching

Caching reuses stored data or results. Validity and the permitted user scope belong in the design.

Also known asCache
Software Development

Caching means storing previously obtained data or results and reusing them for suitable later requests. This can avoid repeated work. A cache might sit inside an application or in front of a service.

An overview example

A hypothetical portal calculates an order overview and keeps the result for repeat requests. It does not necessarily read and calculate everything anew each time. If orders change, however, the stored overview can become outdated.

The design must determine how long a result can be used and when it is refreshed. Customer and user boundaries also apply to stored results. A fast cache hit proves neither current data nor permission to disclose it to the requesting person.

Sources

Articles on this topic

Software Development with ASES

Custom software, web and mobile apps