---
title: "smarty 缓存"
author: "phpseyo"
date: "2012-10-12T17:46:58Z"
tags: []
categories: ["编程语言"]
slug: "smarty"
draft: false
lastmod: "2012-10-12T17:47:17Z"
id: 1697336
url: "https://phpseyo.iteye.com/blog/1697336"
---

smarty 缓存模板混乱问题

比如在 a/list.html, b/list.html

这两个都被smarty缓存了，但有时smarty会混淆这两个模板，最后还是改成

a/a\_list.html, b/b\_list.html