這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Retina Stripper

外掛說明

For now only occurrences of the retina.js script are dequeue + deregister.

If you identify other Retina related scripts open a support ticket + note the name.

I’ll add any other identified scripts here, to strip them out also.

Problems Serving Retina Images

Some of these problems include…

Retina Image File Size + Mobile

Retina images have massive size. If you’re running a Food Porn blog or
Image Hosting site, this might be okay.

Otherwise, likely your visitor on page time will decrease + conversions tank.

If you’re running a Click Arbitrage site or target Mobile devices, which
may be on 3G networks or simply have under powered CPUs or little memory.

This occurs as size of Retina images eat up all your visitor’s connection
bandwidth, then require heavy CPU + memory usage to render.

Retina Image 404s On Server

Most sites serving Retina images, do so via the horribly simplistic retina.js library.

Unfortunately this script works by…

1) Extracting every DOM tag + rewriting the URL as
image-name@2X.extension back into the DOM.

2) For many sites 100% of these image-name@2X.extension file access
result in a 404 (missing page) error. Then retina.js will walk
the DOM again, removing the @2X from images + the image file
fetch begins again. Since this process runs via AJAX, instantaneously
page load resource usage can spike very high.

3) WordPress caching plugins specifically avoid caching 404 errors. This
is intentional. The idea being, once you notice 404s, you’ll fix them.
If 404s were cached, every permanent + transient 404 error would
require a manual cache flush, to clear the cache object, so the fixed
page could then reach visitors.

4) Thus every 404 @2X image served generates what tends to be an extremely
high resource intensive page view… all for nothing…

5) If you have 20 images on a page you’ll generate 20x 404s.

You can see when this can lead to extreme dips in performance,
which are hard to diagnose, unless you have a Server Savant
doing daily log studies with logtop to monitor page view patterns.

Some servers where I host client sites showed 90%+ of all page
accesses were 404s to Retina images.

As traffic spends or natural traffic increase, 404s increase,
starving Apache + Database till eventually all visitors see become
Apache 500 errors + Database Connection Errors.

Plugin History

This code was originally written to serve my many private hosting clients.

Check [http://FastStableHosting.com]http://FastStableHosting.com WordPress speedups.

This site is a work in process, where my goal is to converge all the many
checklists I’ve published over the years cohesively + retire all other
site with related WordPress performance boosting tips.

Material presented on this site is based on testing, rather than drivel + myth
which pollutes the entire WordPress ecosystem, at every turn.

If you wonder why you keep reading how to speed up your site + nothing seems
to make any difference, likely your reading content written by posers.

安裝方式

Best to just install through the WordPress admin panel.

This plugin has no database access, so will install via a recursive sftp/ftp file put.

常見問題集

Have a question?

Post it under the Support Tab + I’ll add it to the FAQ along with my answer.

Think Twice About Asking Me To Host Your Site

If you’re generating significant daily profit, we might work well together.

If you have a hobby site or proof of concept site, likely we’re a poor fit.

In other words, Fast + Stable Hosting is expensive, which is why it’s
scarce as Purple Lemmings, who are smart enough to stand aside + let
the others head over the cliff edge.

Think Twice About Contacting Me Outside This Plugin’s WordPress Support Thread

Consider this. If I’m consulting with you for an hour, that’s an hour of time invested
with you, rather than one of my personal projects or assisting one of my other clients.

Before you contact me, be clear this will be a paid consulting conversation. So before
you contact me, be sure you’re crystal clear about out topic, so we can optimize our time.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Retina Stripper〉的開發相關工作。

參與者

將〈Retina Stripper〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • 2016-05-16
  • Initial Release

1.1

  • 2016-05-18
  • Minor readme file formatting fixes

1.2

  • 2016-05-18
  • Minor readme file formatting fixes

1.3

  • 2016-05-18
  • Minor readme file formatting fixes

1.4

  • 2016-05-18
  • Bumped readme.txt “Stable Tag” + plugin.php “Version” to match + show up correctly on http://WordPress.org download page