X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Cache Smarty Template (https://forum.x-cart.com/showthread.php?t=640)

paul 11-13-2002 01:29 PM

Cache Smarty Template
 
Has anyone used smarty caching for their x-cart installation?

I would like to know how to enable caching for only certain template files.

B00MER 11-22-2002 10:29 PM

Caching should already be enabled.

paul 11-24-2002 05:16 PM

If you check smarty.class.php caching is set to false. I am able to cache templates within a template. by following FAQ at smarty site.

I wanted to know if anyone has done this and if so how much faster is it?

B00MER 11-24-2002 05:44 PM

I had no idea caching wasn't enabled. Probably would be best to scour of the smarty.class mailing list archives, or do some testing. :?

paul 11-24-2002 05:56 PM

I am trying to optimize the performance of the cart by caching. However, home.tpl is always called and this contains many other templates so you cannot cache home.tpl else you get the same info.

The only way is to individually turn caching on and save an underlying template then turn cache off.


All times are GMT -8. The time now is 05:21 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.