I repeatedly see Rackspace ads on Stack Overflow’s google-app-engine tag and the tags of other cloud-based services. What surprises me is that I never see Google or AWS ads on SO.
Stacking Delays On Tasks
CORS Preflight Request Testing In cURL
When browsers send AJAX-JSONP requests, they often send a “preflight request” before the JSONP call. This request is a HTTP OPTIONS call asking the server whether it supports the cross origin resource sharing specification (in other words, JSONP requests).
To test a server’s support for cross origin resource sharing (CORS), you can use the cURL utility to emulate a HTTP OPTIONS request. A server that supports CORS will return a number of Access-Control headers specifying the requests it supports. Here’s an example cURL command:
curl -H "Origin: http://www.example.com" \
-H "Access-Control-Request-Method: POST" \
-H "Access-Control-Request-Headers: X-Requested-With" \
-X OPTIONS --verbose \
http://ip.jsontest.com/
Here’s an example of a proper CORS preflight response:
Access-Control-Allow-Origin is set to a wildcard, which means that all domains are permitted to make requests to it. Access-Control-Max-Age means that the results of this preflight request can be saved for 86,400 seconds (1 day). Access-Control-Allow-Methods means that GET and POST requests are supported.
Cloudflare Error
Many App Engine applications use Cloudflare for caching, SSL, and other services. However if Cloudflare can’t reach your website (for example, if the request is taking too long to finish) the above screen will be shown to the user.
App Engine Logos
Badge logos (sometimes called button logos) are used to advertise a website’s server software or platform. Here’s a few examples:
Apache Badge Logo
Apple Xserve:
PHP:
Personally, I always like seeing badge logos because they give an interesting insight into that website: which stack is powering the website, the preferred coding language of the webmaster, etc.
Here’s logos for App Engine:
For reference, these are the equivalent badge logos for Microsoft Azure and AWS:
Retrieving An Array From Memcache In Golang
Test
This is my first testing Tumblr text post!