Closed yoshinorin closed 4 years ago
At first glance, on my local machine works well. But, the performance problem occurred.
Browser reload is very slow when post file change...
@YoshinoriN Locals.cache.cache
should be considered a private API. We could add a dump()
in Hexo 4.3.0, so that we will have a consistent API.
According to Hexo API's documents, there is already a method called toObject()
. The plugin should use Locals.toObject()
for consistency. And cache for toObject()
should be handled by plugin itself.
@SukkaW Thank you :) I will check it later.
Description
fixes: #22
In hexo 4.2.0 Locals class use hexo-util. Please see followings:
Fix
hexo.locals.cache
tohexo.locals.cache.cache
Others
engines
option topackage.json
. Because current hexo support+8.10.0
related post
feature.Thank you :)