We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
How can I get a better cache hit ratio?
Environment
CDN
Answer
(1) Set a proper cache expiry. This can be done in the control panel - edit CDN resource - advance settings > Cache Expiry. Refer more from https://help.onapp.com/hc/en-us/articles/360006903134
(2) Reduce the number of locations, assigned to a resource. Focus on the locations where the end users are.
(3) For "hot"/"popular" files, you can prefetch to all edge servers in advance using the prefetch features in the control panel (click into a cdn resource)