Skip to content

Business intelligence made simple

Version bump to 1.4.0

Andrew Kane0aa05049a357
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 06fe6a75..022f6e37 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 1.4.0 [unreleased]
+## 1.4.0
- Added `slow` cache mode
- Fixed `BLAZER_DATABASE_URL required` error
diff --git a/README.md b/README.md
index 47d28a48..b074b21a 100644
--- a/README.md
+++ b/README.md
@@ -212,10 +212,21 @@ smart_columns:
### Caching
-Blazer can automatically cache results to improve speed.
+Blazer can automatically cache results to improve speed. It can cache slow queries:
```yml
-cache: 60 # minutes
+cache:
+ mode: slow
+ expires_in: 60 # min
+ slow_threshold: 15 # sec
+```
+
+Or it can cache all queries:
+
+```yml
+cache:
+ mode: all
+ expires_in: 60 # min
```
Of course, you can force a refresh at any time.
diff --git a/lib/blazer/version.rb b/lib/blazer/version.rb
index 38a65af7..c4581c7f 100644
--- a/lib/blazer/version.rb
+++ b/lib/blazer/version.rb
@@ -1,3 +1,3 @@
module Blazer
- VERSION = "1.3.5"
+ VERSION = "1.4.0"
end