admin管理员组

文章数量:1429493

I have some PHP logic in a template that randomly loads some content. Logged in, this works great. Logged out, caching prevents different content from being loaded each refresh.

Is there a good way around this, aside from excluding the particular page from cache (in my case, Varnish)? All clever solutions welcome.

本文标签: cacheWay to prevent snippet of template from being cached