enableBrowserCache example


    public function indexAction()
    {
        $identity = Shopware()->Container()->get('auth')->getIdentity();
        $this->View()->assign('user', $identity, true);

        if ($this->Request()->get('file') === 'bootstrap') {
            $this->View()->assign('tinymceLang', $this->getTinyMceLang($identity), true);
        }

        $this->enableBrowserCache();
    }

    /** * Needs to be present for the script renderer * * @return void */
    public function loadAction()
    {
        $this->enableBrowserCache();
    }

    
Home | Imprint | This part of the site doesn't use cookies.