Forums / Developer / PDF Cache Problems
Chad Paulson
Wednesday 11 June 2008 10:30:40 am
Hello all,
I am having a problem with PDF content being cached indefinitely. Below is an overview of my current environment. I am running Exponential 3.9.3
I removed the pdf option from CachedViewModes from the site.ini.append.php (in the correct siteaccess)
[ContentSettings] CachedViewModes=full;sitemap ViewCaching=enabled PreViewCache=enabled [TemplateSettings] TemplateCache=enabled TemplateCompile=enabled TemplateOptimization=enabled NodeTreeCaching=disabled Debug=disabled ShowUsedTemplates=disabled ShowXHTMLCode=disabled
Further, I placed the following declaration on the first line of the pdf in override/content/pdf
{set-block scope=root variable=cache_ttl}0{/set-block}
When accessing the template several times the pdf is cached, displaying the cached contents of the first request for all subsequent requests. Thanks in advance for any insight you may be able to lend.
Elena Ivanova
Wednesday 06 August 2008 3:12:59 am
Hello,
I have the same problem. Could anyone help?Thanks.