I'm using software written in PHP that uses the smarty templating system. I have set up image caching for the site using cache-control headers, but now I want to cache the html output also. On some pages I want to cache nothing, and on others I want to cache everything, and on others I would like to be able to selectively cache some parts (the output of other subtemplates, which are separate .tpl files).
My question is, should I even bother with smarty? If I do it with cache-control, I won't be able to cache only parts of pages I guess, but I can live with that. Is there a compelling reason to use smarty instead, or use both together?
Thanks for any insight you can provide.