1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

Template File Auto Invalidate 缓存模板 1.0.0

缓存模板文件

  1. admin
    兼容版本:
    • 1.3
    • 1.4
    This super simple but really useful add-on is for forums that meet the following requirements:
    • Serve templates as files
    • Have Zend Opcache enabled
    • Have the opcache renew time set to a larger value
    When a template is changed, it may not update immediately due to the cached version still being used.

    This fixes that. It'll invalidate and recache a template file when it is changed - meaning the changes update immediately, and the files are cached before a visitor accesses the site.

    This should make viewing changes easier, as you won't have to reset the cache for changes to immediately take.