Fetching Pull Requests from our remote server

Sometimes we may need to fetch Pull-Requests from our remote server so we can test/review them. This can be easily done just adding the following line to your .git/config file. Note REMOTE_NAME must be replaced by the remote name you are using (usually upstream or origin) For instance, having the following configuration: Server Host: https://server.example.com Server Port: 7999 User Name: …

Configuring cache headers

Recommended cache headers provided by HTTP/1.1: “Expires” or “Cache-Control: max-age“ “Last-Modified” or “ETag“ “Expires” and “Cache-Control: max-age” These headers specify the time period during which the browser can use the cached resource without checking if a new version is available in the web server. I recommend “Expires” over “Cache-Control: max-age” cause is more widely supported. Never use “Expires” and “Cache-Control: …