Caching Pipeline Not Working in Azure DevOps Server 2020

1 minute read

Artifacts caching does not work on-premise Azure DevOps Server 2020. The Azure DevOps documentation on Cache Action is not updated and that is misleading.

Cache@2 utility Not working on premise Azure DevOps

You will get below error when you use cache@2 in your pipeline. Here is the Microsoft GitHub Issue. It clearly says that, Cache@2 task is not supported on-premises. It works on Azure DevOps though however not work on Azure DevOps On-Premise Server.

'API resource location is not registered' error with Azure pipeline cache task

Reead: Stack overflow error

Why Cache@2 is not working in DevOps Server

Microsoft DevOps Server does not support Universal Packages that is why node_module caching in pipeline does not work using cache@2 or any Universal Packages.

Currently, Universal Packages are only available for Azure DevOps Services.

When cache is included?

It seems by March it will be done as per Microsoft GitHub Pull Request.

If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.

Become full stack developer đŸ’ģ

I teach at Fullstack Master. If you want to become full stack developer and grow your carrier as new software developer or Lead Developer/Architect. Consider subscribing to our full stack development training programs. You can enroll to All-Access Monthly membership plans to get unlimited access to all of our video courses, slides, source code & monthly video calls.

  • Please subscribe to All-Access Membership PRO plan to access current and future angular, node.js and related courses.
  • Please subscribe to All-Access Membership ELITE plan to get everything from PRO plan. Additionally, you will get access to monthly live Q&A video call with Rupesh and you can ask doubts/questions and get more help, tips and tricks.

Your bright future is awaiting for you so visit today FullstackMaster and allow me to help you to board on your dream software company as a Developer,Architect or Lead Engineer role.

💖 Say 👋 to me!
Rupesh Tiwari
Founder of Fullstack Master
Website: |