Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 7 matches
Smarty Forum Index
Author Message
  Topic: Optimized subtemplate compilation with nocache variables
mimos

Replies: 2
Views: 20282

PostForum: Feature Requests   Posted: Fri Aug 21, 2020 4:25 pm   Subject: Optimized subtemplate compilation with nocache variables
Sorry for replying this late. Thanks for your explanations and sorry for my unneeded post.
  Topic: Optimized subtemplate compilation with nocache variables
mimos

Replies: 2
Views: 20282

PostForum: Feature Requests   Posted: Fri Mar 06, 2020 12:11 am   Subject: Optimized subtemplate compilation with nocache variables
Hi,

I stumbled upon the following case where I could change the code to a version with worse readability/usability to get an optimized result. I think in this case smarty could maybe automatically ...
  Topic: is_cached vs include with cache_id
mimos

Replies: 11
Views: 47809

PostForum: Bugs   Posted: Mon Oct 24, 2016 3:30 pm   Subject: is_cached vs include with cache_id
Aah, thanks, this helped a lot: {make_nocache $headercacheid} achieves what I want Smile

Now I understand what include does, too. Previously I looked for changes in the cached files and obviously fou ...
  Topic: is_cached vs include with cache_id
mimos

Replies: 11
Views: 47809

PostForum: Bugs   Posted: Tue Oct 18, 2016 12:00 am   Subject: is_cached vs include with cache_id
Thanks for your suggestions.

I'd find it more logical, if that cache_id was cached by default and only not cached if it is in a {nocache} block or the variable is nonchacheable by itself. But I can ...
  Topic: is_cached vs include with cache_id
mimos

Replies: 11
Views: 47809

PostForum: Bugs   Posted: Mon Oct 17, 2016 1:28 am   Subject: is_cached vs include with cache_id
Well... I discovered at least one flaw with my code: too many (nested) curly braces. Maybe this looked to you like "assigning variables in the template"?. Nontheless the basic issue still st ...
  Topic: is_cached vs include with cache_id
mimos

Replies: 11
Views: 47809

PostForum: Bugs   Posted: Sun Oct 16, 2016 1:38 pm   Subject: is_cached vs include with cache_id
Hi, thanks for your reply.

I am aware that noncahed variables need to be assigned for each render. I did not expect, that the variable I use as a cache_id is not cached, even if I set nocache to fa ...
  Topic: is_cached vs include with cache_id
mimos

Replies: 11
Views: 47809

PostForum: Bugs   Posted: Sat Oct 15, 2016 1:37 pm   Subject: is_cached vs include with cache_id
Hi,

I am using smarty 3.1.30 on php 7.0.9 and want to use includes with cache_ids. Because I didnt't completely understand smarty's code and was unsure about corner cases, I wrote some test cases t ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP