[pLog-svn] another caching bug

Jon Daley plogworld at jon.limedaley.com
Tue Feb 19 18:08:38 EST 2008


I have the following code in main.template:

{if $category || $date || $smarty.env.REQUEST_URI != "/" }
{assign var="OnMainPage" value=0}
{else}
{assign var="OnMainPage" value=1}
{/if}

This has worked for years, so I can have a custom entry page, but all 
other pages are "regular" LifeType pages.

But today, smarty has cached the page as a regular lifetype page - I 
didn't think to check if it was only displaying a particular category, 
etc. but when I minimally changed the template to get the cache to reset, 
the page was fine.

Any ideas where to look?


More information about the pLog-svn mailing list