最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin1浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论