Changeset [1b5b50c695dba19dce069733c1c662f29d88569a] by Brian Michalski

March 14th, 2012 @ 01:01 AM

Cache the template preview, closes #58.

Wrapping the template preview code in a stale? block to only render and return the image if the etag doesn't match or there has been a modification.

Templates now can find the last_modified time of not just the template but also it's positions and background too in the event those update.
https://github.com/concerto/concerto/commit/1b5b50c695dba19dce06973...

Committed by Brian Michalski

  • M app/controllers/templates_controller.rb
  • M app/models/template.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Concerto is an open source digital signage system that makes it easy to engage a large community of people with graphical and text-based announcements, bulletins, and other messages... but enough about us, you came here to get involved.
<br />
If you think you've <b>found a bug in Concerto</b>, please click 'Create new ticket' and let us know about it.
<br />
Looking to peek at our source code? Head to <a href="https://github.com/concerto/concerto_v1">https://github.com/concerto/concerto_v1</a> (Concerto version 1) or <a href="https://github.com/concerto/concerto">https://github.com/concerto/concerto</a> (Concerto version 2).
<br />
Our getting started guide is available here: <a href="https://github.com/concerto/concerto/wiki/Getting-Involved">https://github.com/concerto/concerto/wiki/Getting-Involved</a>.