frerich / clcache

A compiler cache for MSVC, much like ccache for gcc
Other
324 stars 83 forks source link

Memcache Strategy should be independent #276

Open hubx opened 7 years ago

hubx commented 7 years ago

As mentioned in #268


class CacheMemcacheStrategy(object):
..

   def connect(self, server):
..
# XX key_prefix ties fileStrategy cache to memcache entry
# because tests currently the integration tests use this to start with clean cache
# Prevents from having cache hits in when code base is in different locations
# adding code to production just for testing purposes`
..
    def getEntry(self, key):
..
# XX this is writing the remote objectfile into the local cache
# because the current cache lookup assumes that getEntry gives us an Entry in local cache
# so it can copy it to the build destination later```