11
Mamba
Re: Please reconsider XOOPS 2.3.x Cache Directory Stucture
  • 2008/9/15 23:36

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
since when has templates_c been a cache folder?

No need to be so literal with the names!

Content of both directories is "generated" by XOOPS, and that's why they are placed together. Of course, if you don't like it to be called "cache", you can always change the name to something different. Actually, for security reasons, it is being encouraged.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

12
yeppers
Re: Please reconsider XOOPS 2.3.x Cache Directory Stucture
  • 2008/9/15 23:48

  • yeppers

  • Just popping in

  • Posts: 27

  • Since: 2008/9/15


and skoda cars are generated by volkswagon.

ferrari are generated by scuderia

but you don't call them volkswagon or scuderia do you?

i agree the idea of allowing them to be moved is good. but don't confuse users by telling them that smarty_templates are cache files, because they are not cache. you are supposed to be making things more user friendly, a start on that regard would be to not confuse people and make people think that smarty compiled templates are cache files. maybe long time XOOPS users will know this, but what about the newbies that start looking through the code, like myself.

13
jdseymour
Re: Please reconsider XOOPS 2.3.x Cache Directory Stucture

From the smarty website:
Quote:
Smarty is too complicated, how can it be that fast?

Smarty's core is pretty lean considering what it is capable of. Most of its functionality lies in plugins. The plugin architecture is designed so that only the required plugins are loaded on demand. With this framework, adding even hundreds of new plugins will not affect performance. This makes Smarty fast, scalable and flexible.

Smarty also has caching features that can dynamically refresh and keep portions of the page uncached at your liking. Caching stores the output of the compiled templates, saving the need to execute them on each invocation.


So smarty in some ways does cache so the code does not have to be compiled on each view.

14
phppp
Re: Please reconsider XOOPS 2.3.x Cache Directory Stucture
  • 2008/9/16 8:49

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Sorry for the confusing naming conversion rule.
perhaps it would be better to use the term of "temporary_data" for "caches" (automatically generated by system and can be removed) and "persistent_data" for "configs" (manually created data)

Login

Who's Online

533 user(s) are online (387 user(s) are browsing Support Forums)


Members: 0


Guests: 533


more...

Donat-O-Meter

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

Latest GitHub Commits