Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
hexo-filter-optimize
Advanced tools
A hexo plugin that optimize the pages loading speed.
It will auto filter your html file, find the <link rel="stylesheet">
block and replace them into a javascript to optimize CSS delivery.
And inline the main.css
into the html page like @maple3142 does.
It will improve your pages loading and get a higher score in the Google PageSpeed Insights.
npm install hexo-filter-optimize --save
Activate the plugin in hexo's _config.yml
like this:
filter_optimize:
enable: true
# remove static resource query string
# - like `?v=1.0.0`
remove_query_string: true
css:
enable: true
# use a script block to load css elements dynamically
delivery: true
# make specific css content inline into the html page
# - only support the full path
# - default is ['css/main.css']
inlines:
excludes:
js:
# bundle loaded js file into the one
bundle: true
excludes:
Here is a result from GTmetrix to show you the changes between before and after. (Same web server located in Tokyo, Japan, vultr.com)
FAQs
A hexo plugin that optimize the pages loading speed.
The npm package hexo-filter-optimize receives a total of 24 weekly downloads. As such, hexo-filter-optimize popularity was classified as not popular.
We found that hexo-filter-optimize demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.