11
No, not even with relative certainly.
header.php would have to studied more carefully, to see exactly what it's doing.
When I was experimenting with caching, I wrote the following as an aid:
// For testing caching. #*#DEBUG#
// Must start with "insert_" to be accessed by Smarty insert tag.
function insert_cachetest_show_date()
{
return date('Y-m-d H:i:s');
}
Then in a template, you can add:
<{* #*#DEBUG# *}>
<table width="%25">
<tr><td>Page generated:td><td><{$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'}>td>tr>
<tr><td>Current time:td><td><{insert name="cachetest_show_date"}>td>tr>
table>
If the times displayed are different, that shows that the page is retrieved from the cache.
----
Edit
The Smarty
insert function, which I used above, provides a way of including dynamically generated content within a cached template. That could be another approach for solving the problem discussed in this thread.