What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
Jika anda mempunyai multipel cache untuk sebuah template, anda bisa membersihkan cache tertentu dengan menyertakan cache_id sebagai parameter kedua.
Anda juga bisa mengirimkan $compile_id sebagai parameter ketiga. Anda dapat mengelompokan template bersama agar bisas dihapus sebagai sebuah grup, lihat seksi cache untuk informasi lebih jauh.
Sebagai parameter opsional keempat, anda dapat menyertakan waktu minimum dalam detik cache file seharusnya sebelum dibersihkan.
Lihat juga clear_all_cache() dan seksi caching.