cache - Way to prevent snippet of template from being cached?

I have some PHP logic in a template that randomly loads some content. Logged in, this works great. Logged out, caching p

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745530717a4631681.html

相关推荐

  • cache - Way to prevent snippet of template from being cached?

    I have some PHP logic in a template that randomly loads some content. Logged in, this works great. Logged out, caching p

    17小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信