jekyll-assets 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/HISTORY.md
CHANGED
data/README.md
CHANGED
@@ -212,12 +212,20 @@ assets:
|
|
212
212
|
|
213
213
|
### Compilation Cache
|
214
214
|
|
215
|
-
To improve build time,
|
216
|
-
|
215
|
+
To improve build time, you can enabled compiled assets cache:
|
216
|
+
|
217
|
+
``` yaml
|
218
|
+
assets:
|
219
|
+
cache_assets: true
|
220
|
+
```
|
221
|
+
|
222
|
+
In this case you might want to clean cache time after time:
|
217
223
|
|
218
224
|
$ jekyll assets:cleanup
|
219
225
|
|
220
|
-
|
226
|
+
Also you will need to add `.jekyll-assets-cache` path under source of your
|
227
|
+
jekyll site into exclusion list of your source control system (`.gitignore`
|
228
|
+
for git).
|
221
229
|
|
222
230
|
At the moment we use *FileStore* cache which keeps compiled data on file system.
|
223
231
|
If you need MemCache or Redis based store, please raise a ticket.
|
@@ -450,11 +458,10 @@ assets:
|
|
450
458
|
#
|
451
459
|
cachebust: hard
|
452
460
|
#
|
453
|
-
# Whenever or not cache compiled assets (
|
454
|
-
#
|
455
|
-
# clean it up time after time with `jekyll assets:cleanup` command.
|
461
|
+
# Whenever or not cache compiled assets (disabled by default).
|
462
|
+
# See `Compilation Cache` section of README for details.
|
456
463
|
#
|
457
|
-
cache_assets:
|
464
|
+
cache_assets: false
|
458
465
|
#
|
459
466
|
# Specifies list of MIME types that needs to have gzipped versions.
|
460
467
|
# You can set it to `false` to disable gzipping. Only javascripts and
|
@@ -10,7 +10,7 @@ module Jekyll
|
|
10
10
|
:sources => %w{_assets/javascripts _assets/stylesheets _assets/images},
|
11
11
|
:compress => { :css => nil, :js => nil },
|
12
12
|
:cachebust => :hard,
|
13
|
-
:cache_assets =>
|
13
|
+
:cache_assets => false,
|
14
14
|
:gzip => %w{ text/css application/javascript }
|
15
15
|
}.freeze
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -243,7 +243,7 @@ rubyforge_project:
|
|
243
243
|
rubygems_version: 1.8.23
|
244
244
|
signing_key:
|
245
245
|
specification_version: 3
|
246
|
-
summary: jekyll-assets-0.5.
|
246
|
+
summary: jekyll-assets-0.5.3
|
247
247
|
test_files:
|
248
248
|
- spec/fixtures/.gitignore
|
249
249
|
- spec/fixtures/_assets/app.css.erb
|