Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Standalone usage of SparkViewEngine and views caching
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mogadanez  
View profile  
 More options Jun 15 2012, 12:38 pm
From: mogadanez <mogada...@gmail.com>
Date: Fri, 15 Jun 2012 09:38:30 -0700 (PDT)
Local: Fri, Jun 15 2012 12:38 pm
Subject: Standalone usage of SparkViewEngine and views caching

can  i setup somehow caching for views  compilation result

or views does not compile in standalone usage?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob G  
View profile  
 More options Jun 15 2012, 12:56 pm
From: Rob G <robertgreyl...@gmail.com>
Date: Fri, 15 Jun 2012 17:56:56 +0100
Local: Fri, Jun 15 2012 12:56 pm
Subject: Re: Standalone usage of SparkViewEngine and views caching

Hi there,

Does this answer your question?
http://sparkviewengine.com/documentation/precompiling

If not - can you explain your requirement in more detail?

Thanks,
Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alexander Popov  
View profile  
 More options Jun 17 2012, 9:51 am
From: Alexander Popov <mogada...@gmail.com>
Date: Sun, 17 Jun 2012 17:51:27 +0400
Local: Sun, Jun 17 2012 9:51 am
Subject: Re: Standalone usage of SparkViewEngine and views caching

Not exact, templates can change on running system, so precompiled views not
answer for me.

in case of asp.net mvc Spark! parse views once and create  "compiled" files
in Temporary ASP.NET files.

does  Spark! do something similar in case of standalone usage( only
Spark.dll ) for email templates.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob G  
View profile  
 More options Jul 7 2012, 3:37 am
From: Rob G <robertgreyl...@gmail.com>
Date: Sat, 7 Jul 2012 08:37:48 +0100
Local: Sat, Jul 7 2012 3:37 am
Subject: Re: Standalone usage of SparkViewEngine and views caching

Hi Alexander,

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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »