Flowdock
method

cache

Importance_1
v2_6_3 - Show latest stable - 0 notes - Class: Source
  • 1_8_6_287
  • 1_8_7_72
  • 1_8_7_330
  • 1_9_1_378
  • 1_9_2_180
  • 1_9_3_125
  • 1_9_3_392
  • 2_1_10
  • 2_2_9
  • 2_4_6
  • 2_5_5
  • 2_6_3 (0)
  • What's this?
cache(spec, custom_path = nil) public

This method is called while caching to save copy of the gems that the source can resolve to path provided by `app_cache_app`so that they can be reinstalled from the cache without querying the remote (i.e. an alternative to remote)

This is stored with the app and source plugins should try to provide specs and install only from this cache when `cached!` is called.

This cache is different from the internal caching that can be done at sub paths of `cache_path` (from API). This can be though as caching by bundler.

Show source
Register or log in to add new notes.