Fetching Pull Requests from stash

Sometimes we may need to fetch Pull-Requests from Stash 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: Stash Host: https://stash.example.com Stash Port: 7999 User Name: ander.ustarroz Repository …

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: …