Here follows a code snippet that will verify if an url exists. It creates a web request using HEAD and tries to get its response. HEAD as request method will boost performance of the request, since no content is downloaded. In some cases the remote server exists but doesn´t allow HEAD as request method and […]

Here’s a little code snippet that will handle caching of objects using http runtime cache. If object exists in cache it will be returned. If not it will be reloaded using the supplied method, inserted into cache and returned back. Usage: