---
title: "Discussion on \"How to setup npm caching on GitLab\" | Hashnode"
description: "Discussion on \"How to setup npm caching on GitLab\". In this article, I'll show how to set up & use npm caching in GitLab CI.\nExample package\nFor this article, I created a project with create-react-app. It's installing quite a few dependencies, and we need enough of them to see the positive impact of c..."
url: "https://hashnode.com/posts/how-to-setup-npm-caching-on-gitlab/61025719d3dd5634ae909722"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to setup npm caching on GitLab](https://how-to.dev/how-to-setup-npm-caching-on-gitlab?utm_source=hashnode&utm_medium=feed)

In this article, I'll show how to set up & use npm caching in GitLab CI. Example package For this article, I created a project with create-react-app. It's installing quite a few dependencies, and we need enough of them to see the positive impact of c...

Jul 29, 2021 · 3 min read · how-to.dev  
Read the article

-   [#npm](https://hashnode.com/tag/npm)
-   [#gitlab](https://hashnode.com/tag/gitlab)

## Written by

[Marcin Wosinek](https://hashnode.com/@marcin-wosinek)

@marcin-wosinek · Valencia, Spain

  
[View profile](https://hashnode.com/@marcin-wosinek)

JavaScript developer

I'm JS developer with 13 years of professional experience. I'm always happy to teach my craft.

## Responses 1

Markdown supported · ⌘↵ to post

[白一梓](https://hashnode.com/@yunnysunny)

[Jul 17, 2023](https://hashnode.com/posts/how-to-setup-npm-caching-on-gitlab/61025719d3dd5634ae909722/comment/64b51836d139b7a4d9852aaa)

Your project link has broken.

[Marcin Wosinek](https://hashnode.com/@marcin-wosinek)

[Jul 18, 2023](https://hashnode.com/posts/how-to-setup-npm-caching-on-gitlab/61025719d3dd5634ae909722/comment/64b51836d139b7a4d9852aaa#reply-64b638982eb301aee4d06e79)

Thanks for letting me know! I've no clue what happened, but seems the project code is gone:(
