SilverStripe\StaticPublishQueue\Publisher
Synopsis
class Publisher
implements
StaticPublisher
{
- // members
- private static array $static_publisher_themes = ;
- private static bool $lazy_form_recognition = false;
- private static bool $domain_based_caching = false;
- private static bool $add_timestamp = false;
- // methods
- public HTTPResponse generatePageResponse()
- protected HTTPApplication getHTTPApplication()
- protected string generatePHPCacheFile()
- protected string generateHTMLCacheRedirection()
Hierarchy
Uses
- SilverStripe\Core\Injector\Injectable
- SilverStripe\Core\Config\Configurable
Implements
Members
private
- $add_timestamp — SilverStripe\StaticPublishQueue\bool
- $domain_based_caching — SilverStripe\StaticPublishQueue\bool
- $lazy_form_recognition
—
SilverStripe\StaticPublishQueue\bool
avoid caching any pages with name"SecurityID" - an indication that a form my be present that requires a fresh SecurityID - $static_publisher_themes — array
Methods
protected
- generateHTMLCacheRedirection()
- generatePHPCacheFile() — Generate the templated content for a PHP script that can serve up the given piece of content with the given age and expiry.
- getHTTPApplication()