-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New module: Akka-HTTP-Caching #1539
Conversation
Rename to Lfu Make remove return Unit Move caffeine dependency to Dependencies.scala Fix CachingDirectives package name Increase delay in cache test @ApiMayChange annotations Remove test that sometimes fails due to race condition Exclude akka-http-caching from MiMa previous artifacts Remove the need for a loader on LfuCache creation Simplify CachingDirectives - remove CacheSpecMagnet MiMa ignoredModules Refactor LfuCache - replace subclasses with store param Docs and example code for caching directives Move LfuCache params to LfuCacheSettings to support binary compatibility Replace Keyed and ValueMagnet classes with overloaded apply and get methods Remove default value for keyer function Remove build.sbt Update docs Make cache key type generic Fix Cache.remove comment WIP towards JavaDSL for akka-http-caching Use JavaMapping formatting copyright, docs, annotations Make CacheJavaMapping internal Java API markers getStrict -> getOrCreateStrict Remove simpleKeyer Use LfuCacheSettings in routeCache Example keyer for docs Fix for sbt 1.0 Make Java DSL implement proper CachingSettings companion =cache make settings reference.conf and mark things as internal
=doc Add server-side overview page (#1371) Revert formatting changes back to how Scalariform formats Mark more settings constructors private Use self reference to implement with... methods Override productPrefix in the setting implementations Fix implementation of withLfuCacheSettings Implement withLfuCacheSettings in the Java DSL and provide a Scala-specific implementation as well. Fix compilation error in the caching directive example Fix places where the Java DSL leaks into the Scala DSL For example apply methods should always take the Scala DSL instance where as create methods should take the Java DSL instances. Caching docs (#6) * Fix use of fragments and IDs in directives * Add Java caching directives examples * Document Java caching directives * Document the caching design and implementation Port spray-caching documentation and update to the new caching API. * Document the akka-http-caching reference config * Fix reference to Java DSL cache * Fix another Cache reference * Reword docs related to the LFU cache
Test PASSed. |
Thanks @tomrf1 @ben-manes @jonas @jrudolph @yannick-cw et al for all the help, code and reviews. Very excited we finally got it in; I'm sorry it took us so long, but the outcome is very excellent so far :) There's some small follow up ticktes already:
t:caching
Resolves #213 |
And of course after writing "watch out with merging" I merge it using the wrong button... I'll fix it, so everyone gets attribution. |
🎉 |
Squashed version of #1503