A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [cache]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
63 views

For storing avatars in s3, which approach has the lowest cost?

On my site I have the ability for users to upload avatars (which they upload to s3). They can only have one avatar at the moment, so I currently just have the filename set to their user id. However, ...
1
vote
1answer
35 views

Can I persist a Yarn install through different stages in a GitLab pipeline?

I was thinking about a pipeline with the following steps: Install image dependencies (such as java, node, yarn and openssl) Install node packages needed for the build Install PMD Do a code Analysis ...
3
votes
0answers
46 views

if the bottle neck is the number of connections, is it better to scale redis by sharding or by replication?

Background last week we had a major outage, we identified the bottle neck to be redis number of connections: Our quick fix was to scale redis from cache.m4.4xlarge to chache.m4.10xlarge (vertical ...
0
votes
1answer
2k views

How to cache node_modules folder when using Jenkins Multibranch Pipeline

I'm using Jenkins Multibranch Pipeline to handle my CI/CD and I'd like to know if is there a way to cache my node_modules folder? Every time I push a branch, I execute yarn to install the ...
3
votes
1answer
324 views

Docker ADD always invalidates cache

I've got problem with my Dockerfile. After building an image it is pushed to repository as cache-image, so on next builds I can pull it and use with --cache-from. Problem is that build stops using ...
0
votes
2answers
67 views

Docker - which cache is used to build image

I have got my docker image called samplecontainer, during build I am not specifying --cache-from option. Is it possible to know which image is used during build as cache?