| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Disable caching for some templates inside a php file. | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello everyone,
I'm trying to enable caching on most part of my pages, and disable caching on a few selected templates that generates data dynamically. I'd like to split up my home.php into 5 sections with header, left col, main col, right col, and footer. The overal template will be fitted inside a table that wraps the left, main and right template. Now the question is, I'd like to cache everything but the left template. Might anyone be able to give me some pointers? Thank you. ![]()
__________________
Best Regards! Alan Search is my friend |
|||||||
#2
|
|||||||
|
|||||||
![]() just one question .. why?
![]()
__________________
ex x-cart guru ![]() |
|||||||
#3
|
|||||||
|
|||||||
![]() I figured that it'd be faster for users to surf our sites, as we have a dynamic center and right column, and a fixed top, left and bottom column. Doesn't caching part of templates speeds up the website, and mimimize unnecessary SQL calls? Sorry I'm still quite a newbie at PHP related items...
What I really want is to just speed the site up with minimized SQL callings, and other bits.
__________________
Best Regards! Alan Search is my friend |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Smarty-2.3.0/Smarty.class.php
Code:
By default x-cart will not cache any .tpl's ![]() |
|||||||||
#5
|
|||||||
|
|||||||
![]() Hello again all.
What are the advantages and disadvantages of caching for smarty anyway? I'm still at lost wtih these advanced internal PHP stuff...
__________________
Best Regards! Alan Search is my friend |
|||||||
|
|||
X-Cart forums © 2001-2020
|