|
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 |
mangr Smarty n00b
Joined: 12 Aug 2003 Posts: 1 Location: australia
|
Posted: Tue Aug 12, 2003 1:24 am Post subject: caching with single entry point url |
|
|
hi,
i'm new to this forum so i'm unsure where to post.
most of the documentation on smarty and the community support has been good, but i have had trouble finding information on my caching problem.
I would like to enable caching, however it seems only my layout template is getting cached. that is.. i have one template that defines a general layout and various sub pages that "slot" into it. all control to my website is through one file with a query string to work out navigation. Now, when i click on something and change the query string, i still get the layout templates cache result!
so to clarify:
url looks like this: mywebsite.com/index.php?sid=001&pid=034&act=view
and my smarty templates look like:
layout.tpl
-> header.tpl
-> menu.tpl
-> footer.tpl
-> $content <- contains the tpl to place here.
Any help would be greatly appreciated |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Tue Aug 12, 2003 3:39 am Post subject: |
|
|
hi mangr. Perhaps this thread will be useful, particularly messju's comments.
HTH |
|
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
|