<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[resolved] jsReport script: data caching]]></title><description><![CDATA[<p>v: 2.1.0</p>
<p>This might be a bit of a noob question: can the data be cached? Is the worker (process) in which you are triggering the script if being terminated after the end or is it persisted? Can I store some values for the future executions?</p>
<p>Consider my scenario, where I have to pull the data from cloud and I need a token. This token has an expiry and I'd like to keep it cached until it expires. How would I do something like that?</p>
<p>Thanks again.</p>
]]></description><link>https://forum.jsreport.net/topic/674/resolved-jsreport-script-data-caching</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 05:27:17 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/674.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Aug 2018 03:25:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [resolved] jsReport script: data caching on Mon, 20 Aug 2018 22:47:37 GMT]]></title><description><![CDATA[<p>v: 2.1.0</p>
<p>This might be a bit of a noob question: can the data be cached? Is the worker (process) in which you are triggering the script if being terminated after the end or is it persisted? Can I store some values for the future executions?</p>
<p>Consider my scenario, where I have to pull the data from cloud and I need a token. This token has an expiry and I'd like to keep it cached until it expires. How would I do something like that?</p>
<p>Thanks again.</p>
]]></description><link>https://forum.jsreport.net/post/3342</link><guid isPermaLink="true">https://forum.jsreport.net/post/3342</guid><dc:creator><![CDATA[vajnorcan]]></dc:creator><pubDate>Mon, 20 Aug 2018 22:47:37 GMT</pubDate></item><item><title><![CDATA[Reply to [resolved] jsReport script: data caching on Invalid Date]]></title><description><![CDATA[<p>The script runs in the extra process and in extra sandbox. Everything is terminated after it finishes. At least by default.</p>
<p>How about you would save the token to a file and read it from it? Use the file as a cache.</p>
]]></description><link>https://forum.jsreport.net/post/3343</link><guid isPermaLink="true">https://forum.jsreport.net/post/3343</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to [resolved] jsReport script: data caching on Invalid Date]]></title><description><![CDATA[<p>Hi Jan, not entirely a bad idea... it was not just about the token but could work for larger data too. Thanks</p>
]]></description><link>https://forum.jsreport.net/post/3354</link><guid isPermaLink="true">https://forum.jsreport.net/post/3354</guid><dc:creator><![CDATA[vajnorcan]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>