Skip to content

Commit 7071638

Browse files
committed
Add client, CDN, web server, and DB caching sections
1 parent 0d0814f commit 7071638

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,3 +1218,19 @@ Sample data well-suited for NoSQL:
12181218
Caching improves page load times and can reduce the load on your servers and databases. In this model, the dispatcher will first lookup if the request has been made before and try to find the previous result to return, in order to save the actual execution.
12191219

12201220
Databases often benefit from a uniform distribution of reads and writes across its partitions. Popular items can skew the distribution, causing bottlenecks. Putting a cache in front of a database can help absorb uneven loads and spikes in traffic.
1221+
1222+
### Client caching
1223+
1224+
Caches can be located on the client side (OS or browser), [server side](#reverse-proxy), or in a distinct cache layer.
1225+
1226+
### CDN caching
1227+
1228+
[CDNs](#content-delivery-network) are considered a type of cache.
1229+
1230+
### Web server caching
1231+
1232+
[Reverse proxies](#reverse-proxy-web-server) and caches such as [Varnish](https://www.varnish-cache.org/) can serve static and dynamic content directly. Web servers can also cache requests, returning responses without having to contact application servers.
1233+
1234+
### Database caching
1235+
1236+
Your database usually includes some level of caching in a default configuration, optimized for a generic use case. Tweaking these settings for specific usage patterns can further boost performance.

0 commit comments

Comments
 (0)