The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DDG::IsControllable - Role for data managed inside the DuckDuckGo infrastructure

VERSION

version 1016

DESCRIPTION

This role is used for classes which should be cacheable or marked as safe or unsafe for kids.

ATTRIBUTES

is_cached

Defines if the data should get cached. Default on for spice, default off for anything else.

is_unsafe

Define that this data might not be appropiate for underage.

ttl

If the data is cached, which time to life for the data should be set. If none is given, then unlimited cachetime will be assumed.

caller

Must be set with the class generating the result for fetching additional configuration from there.

AUTHOR

DuckDuckGo <open@duckduckgo.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by DuckDuckGo, Inc. https://duckduckgo.com/.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004