Rank: Newbie Groups: Member
Joined: 2/25/2014 Posts: 2
|
I am evaluating EO.pdf HtmlToPdf.ConvertUrl method and would like to know if there is any caching capabilities built in and how they can be configured. The use case is to convert many urls that have common dependencies (CSS/Font files). Does EO.pdf cache these downloaded files and/or binary processed versions of them?
Are there any general recommendations on how to configure Eo.Pdf or files to be converted to run with optimal performance?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Thanks for posting in the forum. Unfortunately there isn't a way for you configure the cache. EO.Pdf keeps a cache in the memory, but since there is no way to configure it, it empty the cache often (otherwise users could keep getting staled contents and yet have no way to refresh it). We plan to move the cache into physical files and also provide some ways for you to configure/manage it.
We do not plan to add any caching ability as to the binary processed PDF result data. We intend to let ASP.NET or user code to handle that.
Hope this answers your question. Please feel free to let us know if you still have any other questions.
Thanks!
|