[32] Results

Golang : How to determine if request or crawl is from Google robots

golang crawlers robots web-request user-agent

For this tutorial, we will learn how to detect a visit by Google robots or web crawlers and learn how….... read more

PageSpeed : Clear or flush cache on web server

pagespeed httpd web flush-cache

Have to migrate one of my website to a new server(droplet) recently when the original server was corrupted by broken….... read more

Golang : How to log each HTTP request to your web server?

golang log-http-request save-log-to-file request-logger


You want to log each HTTP request made to your web server complete with duration (start time - end….... read more

Golang : Get query string value on a POST request

golang query-string post-request

In this tutorial, we will learn how to configure your Golang web application(in HTTP handler) to accept query string input….... read more

Golang : Calculate entire request body length during run time

golang content-length request-header entire-request-body


You are trying to figure out what to fill into the number_of_bytes_in_entire_request_body field when making a http.NewRequest(). You need….... read more

Golang : Delay or limit HTTP requests example

golang http-request delay limit mux


For some technical limitation reason, you want to delay or slow down HTTP requests to one of your machines….... read more

Golang : How to redirect to new page with net/http?

golang web redirect http

Problem :

You need to do a page redirect in Golang. How to do it ?

Solution :

Use net/http.... read more

Web : How to see your website from different countries?

web different-countries url

Problem :

You need to see(visually) how does your website looks like from different countries and you don't have multiple….... read more