On 25 January 2018 at 16:20, Sam Ruby <[email protected]> wrote:
> On Thu, Jan 25, 2018 at 10:08 AM,  <[email protected]> wrote:
>> +  def appmtime
>> +    # TODO can this/should this be cached?
>> +    Wunderbar::Asset.convert("#{settings.views}/app.js.rb").mtime.to_i
>
> Wunderbar::Asset.convert caches the results.  It checks the timestamps
> of each of the files that are pulled together to produce the desired
> output.

Yes.

I meant could/should the result of the check be cached?
As is done with csstime.

> - Sam Ruby

Reply via email to