Skip to content
Sign in
PhastPress icon

PhastPress

PhastPress automatically optimizes your site for the best possible performance.

Not scanned yet WordPress plugin 10k installs

Install in

No install steps yet

Follow the steps on the source page.

PhastPress uses advanced techniques to manipulate your pages, scripts, stylesheets and images to significantly improve load times. It’s designed to conform to Google PageSpeed Insights and GTmetrix recommendations and can improve your site’s score dramatically.

PhastPress’ motto is no configuration. Install, activate and go!

PhastPress has the Phast web page optimisation engine by Albert Peschar and Milko Kosturkov at its core.

Image optimization:

  • Phast optimizes images using PNG quantization (pngquant) and JPEG recoding (libjpeg-turbo).
  • Phast inlines small images (< 512 bytes) in the page.
  • Phast converts JPEG images into AVIF or WebP for supporting browsers.
  • Phast enables native lazy loading to speed up page loading and save bandwidth.

Asynchronous scripts and stylesheets:

  • Phast loads all scripts on your page asynchronously and in a single request, while maintaining full compatibility with legacy scripts, due to our custom script loader.
  • Phast proxies external scripts to extend their cache lifetime.
  • Phast inlines critical CSS automatically by comparing the rules in your stylesheets with the elements on your page.
  • Phast loads non-critical CSS asynchronously and in a single request.
  • Phast inlines Google Fonts CSS.
  • Phast lazily loads IFrames to prioritize the main page load.

Get the full power of Phast for your website by installing PhastPress now.

For commercial support and bug reports, click here.

Written by Joobi from the project's own listing. See the source page

optimisationoptimizationPage Speedpagespeed insightsspeed
26 Nov 2026
Version 3.14 released. Not scanned yet.

3.14 – 2026-11-26

  • Bump “Tested up to” to WordPress 7.2.
  • Update Phast to 1.114.
  • Fix the cache being deleted repeatedly once it was full, on newer PHP and SQLite versions (such as PHP 8.5).
  • Answer requests for invalid (empty or unreadable) images with 422 instead of 500 when not redirecting to the original image, and log them as a warning instead of a critical error.
  • Fix a fatal error when the diagnostics service is requested directly.
  • Security hardening: create diagnostics log files with mode 0600 and only reuse log files owned by the web server user, and generate diagnostics request IDs and the fallback security token (used when AUTH_KEY is not defined) with a secure random number generator.
  • Fix a deprecation warning on PHP 8.5 in the admin panel translations.

3.13 – 2026-10-24

  • Fix PHP 8.4 deprecation warning about implicitly nullable parameter in ServiceConfiguration.

3.12 – 2026-08-13

  • Bump “Tested up to” to WordPress 7.1.

3.11 – 2026-07-29

  • Improve script optimization compatibility with multisite installations, CDNs, and path-rewriting service proxies.

3.10 – 2026-06-19

  • WebP image compression support for sites served via Cloudflare.
  • AVIF image compression support.
  • Bump “Tested up to” to WordPress 7.0.

3.9 – 2026-02-11

  • Fix deprecation error due to implicitly marking parameters as nullable. (Thanks to Roberto Bösenberg!)

3.8 – 2025-12-11

  • Fix CVE-2025-14388. (Thanks to Angus G.!)

3.7 – 2025-12-10

  • Bump “Tested up to” to WordPress 6.8.

3.6 – 2024-10-28

  • Bump “Tested up to” to WordPress 6.7.

3.5 – 2024-10-10

3.4 – 2024-07-04

  • Bump “Tested up to” to WordPress 6.6.

3.3 – 2024-06-25

  • Bump “Tested up to” to WordPress 6.5.

3.2 – 2024-02-23

  • Do not check SQLite version and do not require support for WITHOUT ROWID.

Updated Phast to version 1.110 to support versions of SQLite without WITHOUT ROWID support.

3.1 – 2024-02-21

  • Check that SQLite is version 3.8.2 or newer.

3.0 – 2023-12-01

  • Moved from deprecated \Requests to \WpOrg\Requests\Requests class.
  • PhastPress now requires WordPress 6.2.

2.19 – 2023-10-27

  • Bump “Tested up to” to WordPress 6.4.

2.18 – 2023-08-10

  • Bump “Tested up to” to WordPress 6.3.

2.17 – 2023-08-09

  • In resource optimization service, stop wp-load.php as soon as WPINC is defined.

2.16 – 2023-05-14

  • Fix deprecation warnings in the control panel.
  • Fix installation notice on dashboard.

Update Phast to version 1.109:

  • Fix deprecation warnings.

2.15 – 2023-05-13

Update Phast to version 1.108:

  • Fix deprecation warnings.

2.14 – 2023-04-17

  • Fix fatal error on phastpress_disable if unconfigured.

2.13 – 2023-04-17

Update Phast to version 1.107:

  • Prevent duplication of self-closing <meta charset> tags.

2.12 – 2023-03-30

  • Fix WordPress 6.2 compatibility.

2.11 – 2023-03-18

  • Bump “Tested up to” to WordPress 6.2.

2.10 – 2022-11-18

Update Phast to version 1.106:

  • Set Content-Type: application/json header on bundler responses.
  • Remove X-Robots-Tag header.

2.9 – 2022-11-07

  • Prevent undefined array index warning.

2.8 – 2022-11-07

2.7 – 2022-10-31

  • Bump “Tested up to” to WordPress 6.1.

Update Phast to version 1.105:

  • Set X-Robots-Tag: none header on bundler responses to prevent search engines from indexing them.

2.6 – 2022-10-11

  • Bump “Tested up to” to WordPress 6.0.2.

2.5 – 2022-08-06

  • Add nonce attributes to script tags generated by PhastPress itself.

PhastPress now requires WordPress 5.7 or later.

2.4 – 2022-07-26

  • Add phastpress_csp_nonce filter.

2.3 – 2022-04-04

  • Clarity PDO_SQLITE requirement message.

2.2 – 2022-04-03

Update Phast to version 1.104:

  • Improve CSP support.
  • Use SQLite3 database for caching instead of a file tree.

2.1 – 2021-10-07

Update Phast to version 1.103:

  • Update CA bundle.

2.0 – 2021-09-27

  • Require PHP 7.3.

Update Phast to version 1.102:

  • Don’t rewrite the URLs of dynamically inserted module scripts. This fixes compatibility with Presto Player.

1.125 – 2021-09-07

Update Phast to version 1.101:

  • Ensure the security token never gets reset when the cache grows too large. This prevents resource URLs from changing suddenly.

1.124 – 2021-05-31

  • Prevent dark flash when OS dark mode is active but theme dark mode is disabled.

1.123 – 2021-05-26

  • Add missing file; simplify logic; improve log message.

1.122 – 2021-05-26

  • Prevent light flash when using the dark mode in the Twenty Twenty One theme, even when the page is large enough to trigger multiple renders.

This release misses a file. Please use 1.123 instead.

1.121 – 2021-05-20

  • Prevent light flash when using the dark mode in the Twenty Twenty One theme.

1.120 – 2021-05-13

Update Phast to version 1.100:

  • Send 403 and 404 status codes for unauthorized and not found resource URLs respectively, if they cannot be safely redirected to the original resource.

1.119 – 2021-05-09

  • Fix notice on undefined cspNonce variable.

1.118 – 2021-05-04

  • Avoid an issue with the Stop Spammers plugin preventing the install notice from being closed.

1.117 – 2021-04-28

Update Phast to version 1.99:

  • Prefix async, defer attributes with data-phast- to please W3C validator.

1.116 – 2021-04-21

  • Update settings labels about IFrame lazy loading.

1.115 – 2021-04-21

Update Phast to version 1.98:

1.114 – 2021-03-17

  • Deterministically generate security key based on WordPress secret keys. This avoids URLs changing when the cache is emptied.

1.112 – 2021-03-17

  • Bump WordPress compatibility to 5.7.

1.111 – 2021-03-17

Update Phast to version 1.97:

  • Fix open redirect on phast.php. This would allow a malicious person to redirect someone to a third-party site via phast.php by sending them a link. This can enable phishing attacks if the user is mislead by the hostname of the initial URL. It does not compromise the security of your site itself.

1.110 – 2021-03-11

Update Phast to version 1.96:

  • Don’t emulate document.currentScript for scripts that are executed normally. This prevents some scripts from seeing the wrong currentScript accidentally.

1.109 – 2021-03-09

Update Phast to version 1.95:

  • Do not rewrite <img> element src when it has a rev-slidebg class and points to transparent.png. This is because Revolution Slider‘s JavaScript depends on the image filename for its logic.

1.108 – 2021-03-09

  • Optimize AJAX responses generated by the quick view functionality in Flatsome theme.

1.107 – 2021-03-09

Update Phast to version 1.94 to support this improvement.

1.106 – 2021-03-08

Update Phast to version 1.93:

  • Don’t optimize snippets if they look like JSON objects, ie, start with {".

1.105 – 2021-03-08

Update Phast to version 1.92:

  • Support whitespace in url() in CSS. Eg, url( 'file.jpg' ) is not
    processed correctly.

1.104 – 2021-03-04

Update Phast to version 1.91:

  • Make message about inability to override document.readyState a warning rather than an error, to avoid spurious complaints from PageSpeed Insights.

1.103 – 2021-03-04

Update Phast to version 1.90:

  • Correctly support additional arguments when using setTimeout. This fixes a regression in version 1.83.

1.102 – 2021-03-04

  • Add phastpress_optimize_snippet function to allow arbitrary HTML to be optimized.

Update Phast to version 1.89:

  • Ensure error pages are always interpreted as UTF-8.

1.101 – 2021-02-26

Update Phast to version 1.88:

  • Simplify PATH_INFO calculation if the environment variable is missing. This is now determined by splitting the path component of REQUEST_URI on .php/.
  • Improve error messages, hopefully aiding troubleshooting when phast.php isn’t doing it’s job.

1.100 – 2021-02-18

  • Handle multisite installations in subdirectories.

1.99 – 2021-02-05

Update Phast to version 1.87:

  • Fix handling of closing parenthesis and string literal separated by newline in JSMin.

1.98 – 2021-02-02

1.97 – 2021-02-01

Update Phast to version 1.86:

  • Use text/plain MIME type for the bundled CSS and JS responses. This helps apply automatic response compression in some server configurations (specifically o2switch).

1.96 – 2021-01-28

Update Phast to version 1.85:

  • Raise maximum page size to 2 MiB.

1.95 – 2021-01-28

  • Add compatibility for LiteSpeed Cache. PhastPress optimizations would not work before this.

1.94 – 2021-01-18

Update Phast to version 1.84:

  • Detect WOFF2 support using a feature test, instead of relying on the user agent. This fixes Google Fonts on iOS 9 and earlier.

1.93 – 2021-01-04

Update Phast to version 1.83:

  • Make sure setTimeout chains in DOMContentLoaded are completely executed before the load event is triggered. This fixes some uses of jQuery’s ready event.

1.92 – 2020-12-16

Update Phast to version 1.81:

  • Use Base64-based path info for server-generated URLs.

1.91 – 2020-12-16

Update Phast to version 1.80:

  • Encode characters that cannot occur in URLs. This fixes canonical URLs for optimized images if those URLs contained special characters.

1.90 – 2020-11-19

  • Delay NextGEN Gallery resource manager output buffer hook until after PhastPress deployment if WP Super Cache late init is enabled. This fixes an issue where footer scripts would disappear when NextGEN Gallery and WP Super Cache late init were used at the same time.

1.89 – 2020-11-18

  • Delay deployment until init hook if WP Super Cache late init is enabled. This fixes PhastPress optimizations being done on every load in WP Super Cache’s Simple mode, and not being done at all in Expert mode.

1.88 – 2020-11-18

Update Phast to version 1.79:

  • Support document.currentScript in optimized scripts. (This fixed compatibility with PDF Embedder.)
  • Prevent (suppressed) notice from ob_end_clean.

1.87 – 2020-10-28

Update Phast to version 1.78:

  • Handle <!doctype html ...> declarations correctly, and don’t insert <meta charset> before them. (This broke pages using old XHTML doctypes.)

1.86 – 2020-10-23

  • Disable PhastPress when editing with WPBakery.

1.85 – 2020-10-23

Update Phast to version 1.77:

  • Insert <meta charset=utf-8> tag right after <head> and remove existing <meta charset> tags. This fixes an issue where the <meta charset> tag appears more than 512 bytes into the document, causing encoding issues.

1.84 – 2020-10-23

Update Phast to version 1.76:

  • Stop proxying external scripts like Google Analytics. This feature had no performance benefit, and its only purpose was to improve scores in old versions of PageSpeed Insights.

1.83 – 2020-10-22

Update Phast to version 1.75:

  • Insert path separators (/) into bundler URLs in order to avoid Apache’s 255 character filename limit.

1.82 – 2020-10-20

Update Phast to version 1.74:

  • Ignore calls to document.write from async or defer scripts, in line with normal browser behaviour.

1.81 – 2020-10-20

  • Apply phast_no_defer script attribute to scripts generated by wp_localize_script.

1.80 – 2020-10-05

  • Prevent direct access to bootstrap.php, low-php-version.php and files in classes directory. This is not a security risk, but could generate errors.

1.79 – 2020-09-21

1.78 – 2020-09-09

  • Don’t resize images based on width/height attributes on img tags.

1.77 – 2020-09-08

  • Exclude cache from All-in-One WP Migration backups.

Update Phast to version 1.71.

  • Only process JPEG, GIF and PNG images. (Fix regression in 1.65.)

1.76 – 2020-09-04

  • Don’t defer GA Google Analytics scripts.

1.75 – 2020-09-04

  • Don’t defer Google Site Kit Analytics script.
  • Add support for phast_no_defer script attribute.

1.74 – 2020-08-30

Update Phast to version 1.70.

  • Add Last-Modified header to service response.

1.73 – 2020-08-27

  • Don’t use error suppression when checking query parameters, instead use isset. This prevents notices from appearing in some error logging plugins, even though they are suppressed.

1.72 – 2020-08-26

Update Phast to version 1.69.

  • Fix CSS proxy URL generation not to include __p__ filename twice.

1.71 – 2020-08-25

Update Phast to version 1.68.

  • Support URLs generated via Retina.js (when path info is enabled).

1.70 – 2020-08-21

Update Phast to version 1.67.

  • Fix IE 11 stylesheet fallbacks.

1.69 – 2020-08-21

Update Phast to version 1.66.

  • Convert <link onload="media='all'"> to <link media="all"> before inlining.
  • Elide media attribute on generated style tags if it is all.

1.68 – 2020-08-20

Update Phast to version 1.65.

  • Use path info URLs for bundler and dynamically inserted scripts.
  • Don’t whitelist local URLs but check that the referenced files exist.
  • Support BunnyCDN by optimizing resources on the CDN domain and loading processed resources via the CDN domain.

1.67 – 2020-08-18

Update Phast to version 1.64.

  • Preserve control characters in strings in minified JavaScript.
  • Use JSON_INVALID_UTF8_IGNORE on PHP 7.2+ instead of regexp-based invalid UTF-8 character removal.

1.66 – 2020-08-13

Update Phast to version 1.63.

  • Images in AMP documents are now optimized. No other optimizations are performed in AMP documents.

1.65 – 2020-08-11

Update Phast to version 1.62.

  • Add an option to lazy load images using native lazy loading (loading=lazy attribute). This is enabled by default.

1.64 – 2020-07-21

Update Phast to version 1.61.

  • Added an option to disable gzip compression of processed resources downloaded via phast.php. This might help to fix issues on hosts that compress already compressed responses.

1.63 – 2020-07-21

Update Phast to version 1.60:

  • Ensure that requestAnimationFrame callbacks run before onload event.
  • Don’t rewrite anchor URLs (like #whatever) in CSS.

1.62 – 2020-07-08

Update Phast to version 1.58:

  • Rewrite each URL in a CSS rule, n
28 Dec 2017Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)