[RSS Feed/News] Saving any template does invalidate all CSS

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
When saving a template (which could also be a page or an ad), the template code does get compiled to PHP by XF\Service\Template\Compile::recompile()

PHP:

Code:
public function recompile(Template $template)
{
    [...]
    
    $this->finalize($template);
}

XF\Service\Template\Compile::finalize() then updates the last modified timestamp for all styles:
PHP:

Code:
protected function finalize(Template $template)
{
    /** @var \XF\Repository\Style $repo */...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom