On Fri, Jun 15, 2012 at 5:38 PM, mogadanez <mogada...@gmail.com> wrote:
> can i setup somehow caching for views compilation result
> or views does not compile in standalone usage?
> --
> You received this message because you are subscribed to the Google Groups
> "Spark View Engine Dev" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/spark-dev/-/9e8jRSGwnnIJ.
> To post to this group, send email to spark-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> spark-dev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/spark-dev?hl=en.
> If not - can you explain your requirement in more detail?
> Thanks,
> Rob
> On Fri, Jun 15, 2012 at 5:38 PM, mogadanez <mogada...@gmail.com> wrote:
>> can i setup somehow caching for views compilation result
>> or views does not compile in standalone usage?
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Spark View Engine Dev" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/spark-dev/-/9e8jRSGwnnIJ.
>> To post to this group, send email to spark-dev@googlegroups.com.
>> To unsubscribe from this group, send email to
>> spark-dev+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/spark-dev?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "Spark View Engine Dev" group.
> To post to this group, send email to spark-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> spark-dev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/spark-dev?hl=en.
The cache is implemented as MVC (or other web framework) level to take
advantage of the fact that web servers provide caching in the HTTP context.
So Spark Core doesn't do that currently unless you go the precompiled
route. I have worked on projects where we built mechanisms to watch for
files changes, and constantly recompile on the fly and put into a local
cache where something like and email service or other stand alone apps
could reach them, but that is not part of core Spark. I've also gone the T4
Templates route in Visual Studio and invoked the Spark view engine core
from tt files to constantly render the .cs files out as part of a Singe
File Generator, but of course that only works from inside VS.
Hope those ideas help out.
Regards,
Rob
On Sun, Jun 17, 2012 at 2:51 PM, Alexander Popov <mogada...@gmail.com>wrote:
>> If not - can you explain your requirement in more detail?
>> Thanks,
>> Rob
>> On Fri, Jun 15, 2012 at 5:38 PM, mogadanez <mogada...@gmail.com> wrote:
>>> can i setup somehow caching for views compilation result
>>> or views does not compile in standalone usage?
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Spark View Engine Dev" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/spark-dev/-/9e8jRSGwnnIJ.
>>> To post to this group, send email to spark-dev@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> spark-dev+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/spark-dev?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Spark View Engine Dev" group.
>> To post to this group, send email to spark-dev@googlegroups.com.
>> To unsubscribe from this group, send email to
>> spark-dev+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/spark-dev?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "Spark View Engine Dev" group.
> To post to this group, send email to spark-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> spark-dev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/spark-dev?hl=en.