Title: StaticOptimizer
Author: StaticOptimizer
Published: <strong>November 6, 2020</strong>
Last modified: November 26, 2022

---

Search plugins

![](https://ps.w.org/static-optimizer/assets/banner-772x250.png?rev=2559207)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/static-optimizer/assets/icon-256x256.png?rev=2559212)

# StaticOptimizer

 By [StaticOptimizer](https://profiles.wordpress.org/statopt/)

[Download](https://downloads.wordpress.org/plugin/static-optimizer.1.0.6.zip)

 * [Details](https://pcd.wordpress.org/plugins/static-optimizer/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/static-optimizer/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/static-optimizer/#installation)
 * [Development](https://pcd.wordpress.org/plugins/static-optimizer/#developers)

 [Support](https://wordpress.org/support/plugin/static-optimizer/)

## Description

StaticOptimizer is a static file optimization cloud service that speeds up your 
site by optimizing and serving (the selected) static files from your site.
 The 
service optimizes & compresses the files automatically. No database or files changes
are performed therefore there’s no risk if you want to uninstall the plugin later(…
but why would you?) If our optimization server are down (upgrade, maintenance or
outage) your original files will be loaded instead.

#### Features / Benefits

 * Simple, efficient and free to use
 * The free plan allows you to have images up to 5mb and up to 1600px wide or tall
 * Easy to set up. Just get your API key and you’re good to go.
 * Automatic js and css minification & compression
 * Automatic image optimization (gif, jpeg, png, svg)
 * Files are reloaded only when they are changed on your server (or deleted from
   ours).
 * Automatic conversion to webp
 * Our servers check and if the visitor’s browser supports webp we’ll serve that
   file otherwise the optimized version.
 * Responsive Images (from srcset) are also processed
 * Background images url() are also processed
 * We’ve put extra efforts to make this plugin as efficient as possible.
 * The code in script blocks is preserved
 * Sandbox/test/development subdomains are automatically authorized if the main 
   domain is authorized. Test subdomains are: test, testing, sandbox, dev, local,
   stage, staging
 * SEO: Our servers return canonical header to tell which is the source file. Link:
   [https://example.com/images/image.png](https://example.com/images/image.png);
   rel=”canonical”
 * Select if you want your site to be optimized by servers in Europe or North America
 * No lock-in = after deactivation, all files will work and load from your current
   host and no data loss

### Demo

#### Test drive

https://wpdemo.net/try/plugin/static-optimizer

#### Video demo

#### How it works

After you get your API key the plugin will install as a system (mu-plugin) and will
correct the location where the selected files are loaded from.
 During the plugin
configuration you can tell the plugin which file types you’d like to be optimized.
By default only images are selected for optimization. You can also select js, & 
css files to be optimized as well. The first time our servers get a file it will
be downloaded and optimized. Because this operation can take several seconds your
users will be redirected back to the original file that was requested. Any subsequent
requests will be served from our servers.

#### Who is this plugin for?

People who have lots of images on their site such online stores, photographers, 
real estate agents.

#### Thanks

The logo was designed by Atanas Lambev – [https://dralart.com](https://dralart.com)

I’d like to express my gratitude to the people who have taken the time to test the
plugin & make suggestions and/or has provided access to troubleshoot glitches.
 *
Phil Ryan – [https://site123.ca](https://site123.ca) * Michel Veenstra – [https://www.adventis.nl](https://www.adventis.nl)

 * and to many more.

### Support

Bugs? Suggestions? If you want a faster response contact us through our website’s
contact form at https://statopt.com and
 not through the support tab of this plugin
or WordPress forums for a faster response.

#### Author

Svetoslav Marinov (Slavi) | [StaticOptimizer](https://statopt.com/?utm_source=static-optimizer-wp)

## Installation

 1. Unzip the package, and upload `static-optimizer` to the `/wp-content/plugins/` 
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure which file types you’d like to get optimized
 4. Create a free account and pick a plan
 5. Done

## FAQ

### For the most up-to-date FAQ see the site

Check out [https://statopt.com](https://statopt.com)

### Bug Report / Feature Requests

Please submit any bug report or feature requests in our github issue tracking system.

[Report Bugs / Features](https://github.com/statopt/static-optimizer-wp/issues)

### Does it work with WordPress multisite?

Yes

## Reviews

![](https://secure.gravatar.com/avatar/bc248f07aded6aecc5c40cd06ea1cabce5a4fc651a8fc9bc099573200d840d61?
s=60&d=retro&r=g)

### 󠀁[Good Plugin But Needs Work](https://wordpress.org/support/topic/good-plugin-but-needs-work-2/)󠁿

 [VannDigital](https://profiles.wordpress.org/vdn-staff/) April 23, 2021 3 replies

My site loaded & ran faster as a result of this plugin but it blocks images on my
Twitter Cards. Will up rating once this gets handled.

 [ Read all 1 review ](https://wordpress.org/support/plugin/static-optimizer/reviews/)

## Contributors & Developers

“StaticOptimizer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ StaticOptimizer ](https://profiles.wordpress.org/statopt/)
 *   [ Svetoslav Marinov ](https://profiles.wordpress.org/lordspace/)
 *   [ orbisius ](https://profiles.wordpress.org/orbisius/)

[Translate “StaticOptimizer” into your language.](https://translate.wordpress.org/projects/wp-plugins/static-optimizer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/static-optimizer/),
check out the [SVN repository](https://plugins.svn.wordpress.org/static-optimizer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/static-optimizer/)
by [RSS](https://plugins.trac.wordpress.org/log/static-optimizer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.6

 * Updated code so it doesn’t run if there’s a server side StatOpt optimization 
   solution
 * Fixes and tests with latest WordPress version
 * a fix for the case when the last modified time couldn’t be determined for some
   reason i.e. skip the asset opt url rewriting

#### 1.0.5

 * added optimization support for svg images
 * the CSS relative paths should have been resolved.
 * added demo
 * todo: show a notice if the domain name has changed & for sandbox
 * added a parameter ‘statopt_status’ to turn off the optimization for a given page
   using ?statopt_status=0
 * added a fallback parameter if for some reason the replacements didn’t succeed.
 * Tested with WP 5.7

#### 1.0.4

 * Fix: when js/css couldn’t be loaded we used to create a new obj. Now we are reusing
   the existing one.
 * Pick preferred server location in Europe or North America
 * Refactored code so it uses OOP style.
 * Fixed sha1 wasn’t calculated for the most common files
 * Fixed images file type was unselectable.
 * Fixed the link to the quick contact page
 * Cleaned up code. Removed old code that was going to be used for the mu plugin
 * Added an option so people can link back to StaticOptimizer home page.

#### 1.0.3

 * moved demo up
 * readme changes
 * removed the fonts from the selected list as they may not load all the time usually
   those with relative paths
 * added a check so the api form expands after the user submits the form to get 
   a key
 * added notes about fonts referenced/loaded via relative paths
 * fixed the notice that’s shown on localhost installs
 * improved image parser to skip external images.
 * added a fix for the parser that deals with backgrounds with url() … it was capturing
   the last closing parenthesis

#### 1.0.2

 * Removed the check for body start which was making the plugin to not process anything
   pretty early. On some sites the body started after 60-70kb
 * fixed twitter handle to statopt
 * hide the settings form when there’s no api key so it’s easier to see what’s expected
   from the user.

#### 1.0.1

 * Updated text & labels

#### 1.0.0

 * Initial release

## Meta

 *  Version **1.0.6**
 *  Last updated **3 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.1.10**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/static-optimizer/)
 * Tags
 * [optimization](https://pcd.wordpress.org/plugins/tags/optimization/)[smush](https://pcd.wordpress.org/plugins/tags/smush/)
   [static](https://pcd.wordpress.org/plugins/tags/static/)[wp](https://pcd.wordpress.org/plugins/tags/wp/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/static-optimizer/advanced/)

## Ratings

 3 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/static-optimizer/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/static-optimizer/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/static-optimizer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/static-optimizer/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/static-optimizer/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/static-optimizer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/static-optimizer/reviews/)

## Contributors

 *   [ StaticOptimizer ](https://profiles.wordpress.org/statopt/)
 *   [ Svetoslav Marinov ](https://profiles.wordpress.org/lordspace/)
 *   [ orbisius ](https://profiles.wordpress.org/orbisius/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/static-optimizer/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7APYDVPBCSY9A)