Share » Forums » General » cache life for external file

cache life for external file

cache life for external file

Monday 28 November 2005 4:13:57 pm - 1 reply

Author Message

Nathan Kelly

Tuesday 29 November 2005 3:26:37 pm

Hi risto, you could try:

{set-block scope=root variable=cache_ttl}0{/set-block}
{'http://www.domain.net/file.php\'|file_get_contents}

I'm not sure if this works for external information but if you place:

{set-block scope=root variable=cache_ttl}0{/set-block}

at the top of a template the system won't cache the page. Might help?

Cheers!

Pardon me while I burst into flames...

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu