RSS Feed/News CSS delivery from cache is inefficient

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
30,291
Points
823

Reputation:

If configured and possible, XenForo stores rendered CSS in a cache using the configured provider (Memcached, Redis, etc.) in \XF\CssRenderer::cacheFinalOutput
PHP:

Code:
protected function cacheFinalOutput(array $templates, $output)
{
        if (!is_string($output) || !strlen($output))
        {
                return;
        }

if ($this->allowCached && $this->allowFinalCacheUpdate && $this->cache && $this->includeExtraParams)
        {...

Read more

Continue reading...
 
Status
Not open for further replies.
Top