Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Caching Bug?

 
Post new topic   Reply to topic    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
ef_moya
Smarty n00b


Joined: 26 Jun 2003
Posts: 2
Location: Southern California

PostPosted: Mon Jul 21, 2003 1:46 am    Post subject: Caching Bug? Reply with quote

I think I found a bug?

When I turn on caching Smarty uses the cached file even if the query string changes. So if the first use is file.php?a=b then the next query will serve up the cached file even if the query changes to file.php?a=c.

Is there any solution other than turning caching off?

EFM

This centered styling is UGLY!
_________________
EFM
http://moya.us/
Back to top
View user's profile Send private message Visit poster's website AIM Address
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Mon Jul 21, 2003 2:02 am    Post subject: Reply with quote

Smarty doesn't broker browser requests, so technically this is outside of its realm. None-the-less, Smarty anticipates this and provides facilities so that you can customize cache generations and even have multiple caches for the same template file. More information is available in the manual page, Multiple Caches Per Page.

HTH
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP