WP Manifestindependent plugin directory
manifest / performance / studiya-optimizer

Studiya Optimizer

Lightweight WordPress performance optimization plugin

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/vasutenko26/studiya-optimizer/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Lightweight 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

  1. Smart Script Loading — defers non-critical scripts; forces async on Analytics/GTM; strips defer from protected handles (jquery, wp-i18n, etc.) to prevent media-library breakage.
  2. Resource Hints — DNS-prefetch for Google Analytics and GTM; dynamic <link rel="preload"> for the site logo (improves LCP).
  3. Disable Emoji — removes emoji detection scripts and styles (~11 KB per page).
  4. Clean HTML Header — strips generator tag, RSD, WLW manifest, shortlink, and REST API discovery links from <head>.
  5. Disable XML-RPC — blocks xmlrpc.php and removes the X-Pingback header.
  6. Disable RSS Feeds — optionally redirects all feed URLs to the homepage (301). Off by default.
  7. Cache Navigation Menus — transient-caches rendered nav menus for 12 hours; auto-flushes on menu or post save.

Phase 2 — Image Optimization

  1. Lazy Loading + LCP Priority — first large image (≥200 px wide) gets loading="eager" fetchpriority="high"; all others get loading="lazy".
  2. WebP Conversion & Serving — on upload: generates .webp sidecars for every size via GD. On frontend: wraps <img> in <picture> with full srcset.
  3. Compress on Upload — JPEG → quality 82; PNG → zlib level 7. Files under 100 KB are skipped. Original saved as filename.ext.backup.
  4. Add Missing width/height — ensures image tags carry width and height attributes to prevent CLS.

Phase 3 — CSS/JS Optimization

  1. Minify Inline CSS — removes comments and collapses whitespace inside `