Re: [SMARTY] conflated cache during crawl
| From: | Erwin Kerk | Date: | Tue, 09 Mar 2004 09:47:40 +0000 |
| Subject: | Re: [SMARTY] conflated cache during crawl | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11080@lists.php.net to get a copy of this message | ||
Daniel Cummings schreef:
Hi List, I have noticed a strange behavior with caching while trying to crawl my smartified site with wget. If I request pages while the crawl is in progress it corrupts the cache. Meaning, the cache for my manually requested page contains bits of data from the site that is currently being crawled. It seems as if there might be a global variable collision somewhere. I am using $smarty.server and $smarty.get variables in templates and I suspect that there may be some problem with that. But, as I understand it, a new smarty object is created for each request and each object should have its own copy of those superglobals. I wonder if anyone has seen "conflated" caches before? Or if you can point me to where I can try to debug this. php 4.3.2 smarty 2.6.0 Thanks, danHi Daniel, see the mabual for this matter: http://smarty.php.net/manual/en/caching.multiple.caches.php Erwin Kerk Web Developer