Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a way for file caching in Umbraco version 6.2.2?
Thanks in advance.
What did you mean file caching? Cache data on the disk?
I need to cache the page data which umbraco is fetching from db on browser.
Sagar, Umbraco by default cache page data, if you use Umbraco helper and do not use ContentService - everything will be from the cache.
Can you show the code how do you render the page? how do you retrieve the content?
I am using IPublishedContent to read data.
var latestReport = Model.Content.Children.OrderByDescending(x => x.GetPropertyValue<DateTime>("reportDate")).Take(1).First();
Sagar, it's great, it will not touch the database. Avoid common pitfalls described here - https://our.umbraco.com/documentation/reference/Common-Pitfalls/ and website will perform really well.
So basically, I did not need to do anything, Umbraco will take care of it ?
Thanks for the support.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted