hexo-server icon indicating copy to clipboard operation
hexo-server copied to clipboard

Add --cache and --cache-filter arguments for caching.

Open rottmann opened this issue 6 years ago • 1 comments

View Issue #75

Added 2 Arguments: --cache [bytes] enables the cache, the optinal bytes are the size of the cache (default 10485760 10MB) --cache-filter [regex] set a filter of which files should be cached (default \.(css|js)$ for .css an .js)

By default caching is disabled!

rottmann avatar Dec 10 '18 11:12 rottmann

Coverage Status

Coverage decreased (-9.1%) to 85.156% when pulling 9a51661cab609e42c20bbf5e97994ee2ea08ca14 on rottmann:master into 6186d2383f207fd7c807b6b54b3d3b1072c2d1b2 on hexojs:master.

coveralls avatar Dec 10 '18 11:12 coveralls