I'm trying to enable ssh caching on our Bitbucket instance by guide
And instance returns that both protocols caching is enabled
["HTTP","SSH"]
But i noticed that after 2-4-6 sequential clone requests
git clone ssh://git@<instance_name>/dops/devops-infra-scripts-test.git 6
Cloning into '6'...
remote: Enumerating objects: 11881, done.
remote: Counting objects: 100% (11881/11881), done.
remote: Compressing objects: 100% (4341/4341), done.
remote: Total 11881 (delta 7952), reused 11031 (delta 7321)
Receiving objects: 100% (11881/11881), 7.99 MiB | 361.00 KiB/s, done.
Resolving deltas: 100% (7952/7952), done.
size of cache still "0"
{"hits":0,"misses":0,"size":0,"regions":[{"region":"33112","hits":0,"misses":0,"size":0,"last-accessed":"Tue Jul 11 20:07:00 MSK 2023","entries":[]}]}
Everything is fine?
after 7-8 times of cloning operations the cache appeared :)
{"hits":10,"misses":2,"size":8386796,"regions":[{"region":"33112","hits":10,"misses":2,"size":8386796,"last-accessed":"Tue Jul 11 20:51:29 MSK 2023","entries":[{"key":"clone|90b59fce78c4defb69ba6afac2c9339142c8f0240ab5cc480265febca9904c3f","created":"Tue Jul 11 20:51:29 MSK 2023","last-accessed":"Tue Jul 11 20:51:29 MSK 2023","hits":0,"size":8386796}]}]}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.