development

Supershort Intro to TLS

Transport Layer Security Client & Server use a stateful connection over TCP The connection is secured using a symmetric encryption Client indicates to server to use TLS Client usually use a different port (e.g.443) A primary use of TLS is to secure World Wide Web traffic between a website and a web browser encoded with […]

Read more
development

curl: (55) Failed sending HTTP POST request

Synopsis I got the curl: (55) Failed sending HTTP POST request error while trying to make a POST call to a pingable URL. The error is misleading. It does not inform about the error cause of the error. Solution Revisit the request carefully. Make sure that all headers are in proper syntax (Key: value) URL […]

Read more
development

Dummies Guide to HTTP Cache Control

All modern browsers cache response for a request (HEAD/GET). Cache-Control is primarily meant for browser cache and how & where the server-side caches a response. Max Cache Time Browsers cache a response for the value of max-age response header If the response is expired, the browser can use the previous response Etag and re-request the […]

Read more