1
jsminebj
what difference between the files under "cache" and "template_c"?
  • 2004/12/14 18:26

  • jsminebj

  • Just popping in

  • Posts: 5

  • Since: 2003/1/30


Hello, everyone,

I'm a newbie for xoops. After install it, I found there are two folders under root, one is "cache", the other one "template_c". from the name, I can tell the first should save cached files, the second on should store compiled file, but is there any difference between these two kind of files? What are their purpose? Hope get your helps,

2
m0nty
Re: what difference between the files under "cache" and "template_c"?
  • 2004/12/14 18:57

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i think the templates_c folder is just for the compiled templates that XOOPS uses, and the cache folder is for the actual cache files ie.. cache from sql queries to save on having to do lots of queries on static or not so dynamic content when the cache is enabled for each module/block..

3
Herko
Re: what difference between the files under "cache" and "template_c"?
  • 2004/12/14 19:52

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


templates_c/ is an abbreviation for templates_cache, which is where Smarty (the templating engine) stores it's cached files. To keep it clear what is Smarty's cache and XOOPS' cache, we've made 2 separate folders for them.

Herko

4
Dave_L
Re: what difference between the files under "cache" and "template_c"?
  • 2004/12/14 20:12

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Not exactly.

/templates_c contains the compiled templates. These are the templates, containing Smarty tags, compiled into pure PHP.

/cache contains cached pages, assembled from one or more compiled templates.

Both of these directories are for use by Smarty.

5
Herko
Re: what difference between the files under "cache" and "template_c"?
  • 2004/12/14 20:27

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


I stand corrected

Herko

Login

Who's Online

232 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 232


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits