manifest / performance / studiya-optimizer
Studiya Optimizer
Lightweight WordPress performance optimization plugin
by vasutenko26 · github.com/vasutenko26/studiya-optimizer · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/vasutenko26/studiya-optimizer/archive/refs/heads/main.zipLightweight WordPress performance optimization plugin — 4 phases, 20 optimizations, zero dependencies.
English
Description
Studiya Optimizer is a single-file WordPress must-use plugin that covers every major performance area: script loading, image optimization, CSS/JS delivery, and advanced server-side tuning. Drop it in mu-plugins/ and every feature activates immediately — no configuration required.
Features
Phase 1 — Performance
- Smart Script Loading — defers non-critical scripts; forces
asyncon Analytics/GTM; stripsdeferfrom protected handles (jquery,wp-i18n, etc.) to prevent media-library breakage. - Resource Hints — DNS-prefetch for Google Analytics and GTM; dynamic
<link rel="preload">for the site logo (improves LCP). - Disable Emoji — removes emoji detection scripts and styles (~11 KB per page).
- Clean HTML Header — strips generator tag, RSD, WLW manifest, shortlink, and REST API discovery links from
<head>. - Disable XML-RPC — blocks
xmlrpc.phpand removes theX-Pingbackheader. - Disable RSS Feeds — optionally redirects all feed URLs to the homepage (301). Off by default.
- Cache Navigation Menus — transient-caches rendered nav menus for 12 hours; auto-flushes on menu or post save.
Phase 2 — Image Optimization
- Lazy Loading + LCP Priority — first large image (≥200 px wide) gets
loading="eager" fetchpriority="high"; all others getloading="lazy". - WebP Conversion & Serving — on upload: generates
.webpsidecars for every size via GD. On frontend: wraps<img>in<picture>with fullsrcset. - Compress on Upload — JPEG → quality 82; PNG → zlib level 7. Files under 100 KB are skipped. Original saved as
filename.ext.backup. - Add Missing width/height — ensures image tags carry
widthandheightattributes to prevent CLS.
Phase 3 — CSS/JS Optimization
- Minify Inline CSS — removes comments and collapses whitespace inside `