Documentation ¶
Overview ¶
Code required to bring turbocharger support to concrete applications
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileHandler ¶
helper for making a static file server with Turbocharger advertising enabled
func WrapWithAdvertisement ¶
if deployment specifies TURBOCHARGER_MANIFEST_ID, all requests to a prefix (e.g. /static/...) get "turbocharger" HTTP header added, which instructs any loadbalancer that all /static/... can be henceforth served from a CAS with an approach that has very aggressive caching capabilities
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.