-
-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use layouts without mvc #761
Comments
Have a look at the sample Fluid.MinimalApisSample
What caching that you are refer to? |
Thanks! |
For the provided example in Fluid.MinimalApisSample |
Yes you can, please check these lines fluid/MinimalApis.LiquidViews/FluidViewEngineOptionsSetup.cs Lines 13 to 14 in c874117
I'm not sure why you need to cache all the files, we already have some expensive liquid in Orchard Core, but I will let @sebastienros answer this part |
Appreciate your help @hishamco What I am trying to figure out is, how to build website engine that serves different tenants/themes. each theme has set of liquid files and files are stored in external source such as cloud storage. Have you done similar approaches in Orchard Core? |
We already use Liquid in Orchard Core, but we usually cache the expensive liquid code, for example, generating the main menu, which is fit in this case I don't there is anything that prevents you from caching the views, but if you want to store your views in an external source database or anything you want you might need to tweak the view engine IMHO |
Hi fluid team, thanks for this project
I am building website builder project using liquid template engine
in the project I want to support having themes, I am thinking of storing and fetch theme files in/from git/cloud files storage
a theme might have structure as follow:
can I implement this using fluid?
do you suggest any caching strategy (in memory for example) or does fluid cache files internally?
Thanks
The text was updated successfully, but these errors were encountered: