Optimality | Quasis | optimization,Optimize,pagespeed,performance,speed


The plugin optimizes your website for users, search engine robots and social networks. Your website will load much faster, robots will find the markup they are looking for and social networks will show attractive snippets of your content.

Plugin’s functionality can be roughly divided into 5 major categories: Content Delivery Optimization, Database Optimization, Website Structure Optimization, Search Engine Optimization and Social Media Optimization.

Content Delivery Optimization

  • Removes unnecessary meta tags from the head section of HTML.
  • Reduces DNS lookup time by pre-resolving all external domains.
  • Removes comments, unnecessary whitespace and empty nodes from HTML.
  • Caches dynamic HTML content and serves it as static HTML files.
  • Combines styles, flattens imports, removes comments and caches.
  • Serves popular CSS libraries from content delivery networks.
  • Combines scripts, defers loading, removes comments and caches.
  • Serves popular JS libraries from content delivery networks.
  • Strips metadata and compresses thumbnail images (requires ImageMagick).
  • Canonicalizes image URLs, adds ‘srcset’ attributes and serves from CDN.

Database Optimization

  • Cleans expired transients from the database.
  • Cleans automatic post drafts from the database.
  • Cleans post revision history from the database.
  • Cleans orphaned post meta from the database.
  • Cleans orphaned relationships from the database.
  • Cleans trash/spam comments from the database.
  • Cleans pingbacks/trackbacks from the database.
  • Cleans orphaned meta data from the database.

Website Structure Optimization

  • Removes the mandatory base from the permalinks of categories.
  • Redirects author archive pages to the home page of the website.
  • Redirects image attachment pages to the URL of the parent page.
  • Redirects ?replytocom=id to #comment-id in comment replies.
  • Redirects paginated comment pages to the parent page.
  • Redirects 404 error pages one level up in the website hierarchy.

Search Engines Optimization

  • Provides title and description templates for search engines.
  • Generates proper schema.org markup for every page type.
  • Creates an XML sitemap of the website (including images).
  • Pings Google and Bing once new page/post is published.

Social Media Optimization

  • Provides title and description templates for social networks.
  • Generates proper Open Graph markup for every page type.
  • Generates proper Twitter markup for every page type.

General Features

  • Small (32kB zipped) and fast (no noticeable overhead).
  • Not invasive – doesnt pollute your admin area.
  • Leaves no traces if you choose to try and then deinstall.


  • The plugin hasn’t been tested on multisites yet. So if you own a multisite some features might work not as advertised.
  • The plugin uses ImageMagick to compress thumbnails. The compression is fast and as good as that of Google’s PageSpeed. Therefore, it is highly advisable to install ImageMagick PHP extension together with the plugin.


  1. Upload plugin folder to the ‘/wp-content/plugins/’ directory,
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Select the desired options on the Settings page of the plugin.

Plugin author


Plugin official website address

If you encounter problems in using the Optimality plugin, you can comment below, and I will try my best to help you solve the problem

Leave a Comment

Your email address will not be published.