vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Variable HTTPFileServerSettings.cacheControl

Cache control to control where cache can be saved, if at all, such as proxies, the storage, etc.

class HTTPFileServerSettings
  // ...
  string cacheControl = null;
  // ...

Leave null or empty to not emit any cache control directives other than max-age if maxAge is set.

Common values include: public for making a shared resource cachable across multiple users or private for a response that should only be cached for a single user.



Sönke Ludwig


© 2012-2015 Sönke Ludwig


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.