|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
torok Smarty n00b
Joined: 18 Sep 2003 Posts: 2
|
Posted: Thu Sep 18, 2003 4:15 pm Post subject: Caching |
|
|
What I would really like to do is check if there is an up-to-date cache file at the TOP of my script. If there is, print it and stop there. Otherwise go through and run all the sql queries and take a bunch of time. Is there a good way for me to not run all my code for no reason every time I print a cached page? Thanks. |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Thu Sep 18, 2003 4:17 pm Post subject: |
|
|
The information you want is in the manual -- look up the is_cached function |
|
Back to top |
|
torok Smarty n00b
Joined: 18 Sep 2003 Posts: 2
|
Posted: Thu Sep 18, 2003 4:55 pm Post subject: |
|
|
boots wrote: | The information you want is in the manual -- look up the is_cached function |
Ooops. Thanks, man. |
|
Back to top |
|
|
|
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
|