JavaScript Caching

Hello,


I need to ensure that all GroupDocs JavaScript dependencies (jQuery, jQuery UI, Knockout) are cached. I have looked through the documentation and I haven’t found a good answer. Can you help me with this?

Thanks,
Bryan

Hello Bryan,


Thank you for your request. JavaScript libraries is a front-end and they are cached in the end user browser, since that checking if they are cached can’t be done via our library. Please check this article for how to check if jQuery is cached.

Also you can try to use “System.Web.HttpContext.Current.Cache” to check the cache.

Thank you.