Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 5 matches
Smarty Forum Index
Author Message
  Topic: is_cached vs include with cache_id
mimos

Replies: 11
Views: 8434

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: 8434

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: 8434

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: 8434

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: 8434

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