for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Spryker Commerce OS.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
declare(strict_types = 1);
namespace Pyz\Glue\GlueStorefrontApiApplication;
use Spryker\Glue\GlueStorefrontApiApplication\GlueStorefrontApiApplicationConfig as SprykerGlueStorefrontApiApplicationConfig;
class GlueStorefrontApiApplicationConfig extends SprykerGlueStorefrontApiApplicationConfig
{
protected const HEADER_CACHE_CONTROL_VALUE = 'no-cache, private';
* @return array<string, string>
public function getSecurityHeaders(): array
return array_merge(
parent::getSecurityHeaders(),
['Cache-Control' => static::HEADER_CACHE_CONTROL_VALUE],
);
}