We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

What is the Unit for TimeTillExpiration

I've tried to find this in Documentation and in support (forum & knowledge base) but I ma y just be searching badly.
Anyone know what the unit TImeTilExpiration is? I had assumed it was milliseconds, but wondering if its hundredths of seconds.
I see 30000 which would be 5 minutes if it is hundreds and 120000 which would be 20 min which makes more sense than 30 seconds and 2 minutes.


3 Replies

PO Prince Oliver Syncfusion Team November 9, 2016 12:29 PM UTC

Hi Jason,   
Thanks for contacting Syncfusion support.   
The unit for TimeTillExpiration is in milliseconds. Please let us know whether your using cache adaptor in data manager? If yes, please find the online document.   

JG Jason Gabel November 18, 2016 01:07 AM UTC

I am using it inline on a grid. I followed that link but there was nothing about the time unit.
.Datasource(ds => ds.URL(@Url.Action("DataSource"))

So if I want a 5 minute cache I would need to set it to 300000 because the examples of 30000 are just for 30 second caching.

Thank you for the clarification.

PO Prince Oliver Syncfusion Team November 18, 2016 05:36 AM UTC

Hi Jason,  

Thanks for your update. We are glad to help you.   


Live Chat Icon For mobile
Up arrow icon