Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How does Cache-Control work in SDK? #312

Open
yxiang92128 opened this issue Dec 6, 2019 · 3 comments
Open

Question: How does Cache-Control work in SDK? #312

yxiang92128 opened this issue Dec 6, 2019 · 3 comments
Labels

Comments

@yxiang92128
Copy link

From the client side, what does enabling cache-control do? Does it allocate additional buffers to store the blobs?
Can you do something on the server backend to allow most frequently used blobs to be cached in order to boost the performance on download?

Thanks,

Yang

@Jinming-Hu
Copy link
Member

Client side doesn't have any special process about Cache-Control, just takes it as a normal blob property.

I need to further confirm the server backend behavior, will get back to you later.

@Jinming-Hu
Copy link
Member

Hi @yxiang92128 , Cache-Control is a HTTP header returned when downloading the blob, server side doesn't do any special process.

There are a few methods to boost download throughput.

  1. Use premier storage account.

  2. If your blob size is larger than 4M, set block size larger than 4M.

  3. Do cache in your application by yourself.

  4. If you are using web browser as client, Cache-Control will also help. Because browser doesn't need to download from server again within expiry time.

@Jinming-Hu
Copy link
Member

We're going to close this issue because of inactivity, feel free to reopen it if you have any further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants