jkoudys / concrete5-xhp

XHP elements, so you can use Facebook's excellent XHP library to easily, and cleanly, include concrete5 data
6 stars 0 forks source link

Include cache attributes in c5 elements #4

Closed jkoudys closed 10 years ago

jkoudys commented 10 years ago

After implementing my views up using c5 elements, I see a very powerful way to use xhp: for fragment caching. c5 comes with what I think is basically a wrapper-class in 'Cache', which can be configured underneath to use different caching implementations. This Cache can be called directly from the c5:base element, and configured with the timeout.