Original: https://github.com/digaev/stale_options StaleOptions    A gem for caching HTTP responses. The gem was built with an idea to implement a class which will create options for ActionController::ConditionalGet#stale? method. It allows to cache any kind of object, not only record or collection (unlike of #stale?). Installation Usage Caching options Examples Controller helpers Contributing License Installation… Continue Reading [Reproduce]Ruby Gem – digaev/stale_options: A Ruby gem for caching HTTP responses

HTTP/2 is a replacement for how HTTP is expressed “on the wire.” It is not a ground-up rewrite of the protocol; HTTP methods, status codes and semantics are the same, and it should be possible to use the same APIs as HTTP/1.x (possibly with some small additions) to represent the… Continue Reading HTTP/2简介与基于HTTP/2的Web优化