Git Product home page Git Product logo

Comments (11)

eelkram avatar eelkram commented on July 29, 2024 2

This would be great. I want to add the cache control property when uploading through Azure DevOps Pipelines.

from azure-storage-azcopy.

jogonzal avatar jogonzal commented on July 29, 2024 2

the lack of this option makes me do manual work instead of automating it in my azure devops pipeline, + 1

from azure-storage-azcopy.

dpolivy avatar dpolivy commented on July 29, 2024 1

@JohnRusk Is it possible to have these properties supported for azcopy sync as well?

from azure-storage-azcopy.

zezha-msft avatar zezha-msft commented on July 29, 2024

Hi @mrgregwaugh, thanks for reaching out!

We support content type, content encoding, and metadata. Currently we do not support blob cache control, I've added an item in our backlog for it.

from azure-storage-azcopy.

 avatar commented on July 29, 2024

Hello, if I copy files to storage blob using azcopy and then want to set cache control on those files, is there a way? Is it supported?

from azure-storage-azcopy.

zezha-msft avatar zezha-msft commented on July 29, 2024

Hi @Snfhm, you could use Storage Explorer to set cache control on those files. We'll get to adding this support soon, sorry for the inconvenience!

from azure-storage-azcopy.

 avatar commented on July 29, 2024

Thanks @zezha-msft. Do you have some documentation for that?

If I try to set cache control property using PowerShell script in Azure Web App post deployment, do you think it is possible?

from azure-storage-azcopy.

zezha-msft avatar zezha-msft commented on July 29, 2024

@Snfhm I'm not sure about PowerShell, but Azure CLI can do it.

from azure-storage-azcopy.

pierfrancesco avatar pierfrancesco commented on July 29, 2024

+1

from azure-storage-azcopy.

JohnRusk avatar JohnRusk commented on July 29, 2024

This feature was added in the most recent release: https://github.com/Azure/azure-storage-azcopy/releases/tag/v10.1.2 (Sorry about the delay in updating this issue)

from azure-storage-azcopy.

JohnRusk avatar JohnRusk commented on July 29, 2024

For sync, the plan is that they should be sync'd if the sync is blob-to-blob (they're not right now, but that's a bug, and they will be soon). We haven't yet thought of doing them for upload-style syncs. @zezha-msft is our sync expert. @zezha-msft what do you think?

from azure-storage-azcopy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.