PhastPress changelog

By Albert Peschar, on WordPress.org since 2017. 10,000+ active installs.

Browse code

120 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 3.14

    No notes for this release in the current readme.

    Source
  2. 3.13

    No notes for this release in the current readme.

    Source
  3. 3.12
    • Bump “Tested up to” to WordPress 7.1.
    Source Diff vs 3.11
  4. 3.11
    • Improve script optimization compatibility with multisite installations, CDNs, and path-rewriting service proxies.
    Source Diff vs 3.10
  5. 3.10
    • WebP image compression support for sites served via Cloudflare.
    • AVIF image compression support.
    • Bump “Tested up to” to WordPress 7.0.
    Source Diff vs 3.9
  6. 3.9
    • Fix deprecation error due to implicitly marking parameters as nullable. (Thanks to Roberto Bösenberg!)
    Source Diff vs 3.8
  7. 3.8
    • Fix CVE-2025-14388. (Thanks to Angus G.!)
    Source Diff vs 3.7
  8. 3.7
    • Bump “Tested up to” to WordPress 6.8.
    Source Diff vs 3.6
  9. 3.6
    • Bump “Tested up to” to WordPress 6.7.
    Source Diff vs 3.5
  10. 3.5
    • Support Bedrock. (Thanks to @SandiyosDev!)
    Source Diff vs 3.4
  11. 3.4
    • Bump “Tested up to” to WordPress 6.6.
    Source Diff vs 3.3
  12. 3.3
    • Bump “Tested up to” to WordPress 6.5.
    Source Diff vs 3.2
  13. 3.2
    • Do not check SQLite version and do not require support for WITHOUT ROWID.
    Source Diff vs 3.1
  14. 3.1
    • Check that SQLite is version 3.8.2 or newer.
    Source Diff vs 3.0
  15. 3.0
    • Moved from deprecated \Requests to \WpOrg\Requests\Requests class.
    • PhastPress now requires WordPress 6.2.
    Source Diff vs 2.19
  16. 2.19
    • Bump “Tested up to” to WordPress 6.4.
    Source Diff vs 2.18
  17. 2.18
    • Bump “Tested up to” to WordPress 6.3.
    Source Diff vs 2.17
  18. 2.17
    • In resource optimization service, stop wp-load.php as soon as WPINC is defined.
    Source Diff vs 2.16
  19. 2.16
    • Fix deprecation warnings in the control panel.
    • Fix installation notice on dashboard.
    • Fix deprecation warnings.
    Source Diff vs 2.15
  20. 2.15
    • Fix deprecation warnings.
    Source Diff vs 2.14
  21. 2.14
    • Fix fatal error on phastpress_disable if unconfigured.
    Source Diff vs 2.13
  22. 2.13
    • Prevent duplication of self-closing <meta charset> tags.
    Source Diff vs 2.12
  23. 2.12
    • Fix WordPress 6.2 compatibility.
    Source Diff vs 2.11
  24. 2.11
    • Bump “Tested up to” to WordPress 6.2.
    Source Diff vs 2.10
  25. 2.10
    • Set Content-Type: application/json header on bundler responses.
    • Remove X-Robots-Tag header.
    Source Diff vs 2.9
  26. 2.9
    • Prevent undefined array index warning.
    Source Diff vs 2.8
  27. 2.8
    • Don’t defer Burst Statistics scripts.
    Source Diff vs 2.7
  28. 2.7
    • Bump “Tested up to” to WordPress 6.1.
    • Set X-Robots-Tag: none header on bundler responses to prevent search engines from indexing them.
    Source Diff vs 2.6
  29. 2.6
    • Bump “Tested up to” to WordPress 6.0.2.
    Source Diff vs 2.5
  30. 2.5
    • Add nonce attributes to script tags generated by PhastPress itself.
    Source Diff vs 2.4
  31. 2.4
    • Add phastpress_csp_nonce filter.
    Source Diff vs 2.3
  32. 2.3
    • Clarity PDO_SQLITE requirement message.
    Source Diff vs 2.2
  33. 2.2
    • Improve CSP support.
    • Use SQLite3 database for caching instead of a file tree.
    Source Diff vs 2.1
  34. 2.1
    • Update CA bundle.
    Source Diff vs 2.0
  35. 2.0
    • Require PHP 7.3.
    • Don’t rewrite the URLs of dynamically inserted module scripts. This fixes compatibility with Presto Player.
    Source Diff vs 1.125
  36. 1.125
    • Ensure the security token never gets reset when the cache grows too large. This prevents resource URLs from changing suddenly.
    Source Diff vs 1.124
  37. 1.124
    • Prevent dark flash when OS dark mode is active but theme dark mode is disabled.
    Source Diff vs 1.123
  38. 1.123
    • Add missing file; simplify logic; improve log message.
    Source Diff vs 1.122
  39. 1.122
    • 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.
    Source Diff vs 1.121
  40. 1.121
    • Prevent light flash when using the dark mode in the Twenty Twenty One theme.
    Source Diff vs 1.120
  41. 1.120
    • Send 403 and 404 status codes for unauthorized and not found resource URLs respectively, if they cannot be safely redirected to the original resource.
    Source Diff vs 1.119
  42. 1.119
    • Fix notice on undefined cspNonce variable.
    Source Diff vs 1.118
  43. 1.118
    • Avoid an issue with the Stop Spammers plugin preventing the install notice from being closed.
    Source Diff vs 1.117
  44. 1.117
    • Prefix async, defer attributes with data-phast- to please W3C validator.
    Source Diff vs 1.116
  45. 1.116
    • Update settings labels about IFrame lazy loading.
    Source Diff vs 1.115
  46. 1.115
    • Use native IFrame lazy loading.
    Source Diff vs 1.114
  47. 1.114
    • Deterministically generate security key based on WordPress secret keys. This avoids URLs changing when the cache is emptied.
    Source Diff vs 1.111
  48. 1.111
    • 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.
    Source Diff vs 1.110
  49. 1.110
    • Don’t emulate document.currentScript for scripts that are executed normally. This prevents some scripts from seeing the wrong currentScript accidentally.
    Source Diff vs 1.109
  50. 1.109
    • 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.
    Source Diff vs 1.108
  51. 1.108
    • Optimize AJAX responses generated by the quick view functionality in Flatsome theme.
    Source Diff vs 1.107
  52. 1.107
    • Optimize AJAX responses generated by YITH WooCommerce Quick View Pro.
    Source Diff vs 1.106
  53. 1.106
    • Optimize AJAX responses generated by YITH WooCommerce Quick View.
    • Don’t optimize snippets if they look like JSON objects, ie, start with {".
    Source Diff vs 1.105
  54. 1.105
    • Support whitespace in url() in CSS. Eg, url( 'file.jpg' ) is not processed correctly.
    Source Diff vs 1.104
  55. 1.104
    • Make message about inability to override document.readyState a warning rather than an error, to avoid spurious complaints from PageSpeed Insights.
    Source Diff vs 1.103
  56. 1.103
    • Correctly support additional arguments when using setTimeout. This fixes a regression in version 1.83.
    Source Diff vs 1.102
  57. 1.102
    • Add phastpress_optimize_snippet function to allow arbitrary HTML to be optimized.
    • Ensure error pages are always interpreted as UTF-8.
    Source Diff vs 1.101
  58. 1.101
    • 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.
    Source Diff vs 1.100
  59. 1.100
    • Handle multisite installations in subdirectories.
    Source Diff vs 1.99
  60. 1.99
    • Fix handling of closing parenthesis and string literal separated by newline in JSMin.
    Source Diff vs 1.98
  61. 1.98
    • Disable PhastPress while editing with Oxygen Builder.
    Source Diff vs 1.97
  62. 1.97
    • Use text/plain MIME type for the bundled CSS and JS responses. This helps apply automatic response compression in some server configurations (specifically o2switch).
    Source Diff vs 1.96
  63. 1.96
    • Raise maximum page size to 2 MiB.
    Source Diff vs 1.95
  64. 1.95
    • Add compatibility for LiteSpeed Cache. PhastPress optimizations would not work before this.
    Source Diff vs 1.94
  65. 1.94
    • Detect WOFF2 support using a feature test, instead of relying on the user agent. This fixes Google Fonts on iOS 9 and earlier.
    Source Diff vs 1.93
  66. 1.93
    • Make sure setTimeout chains in DOMContentLoaded are completely executed before the load event is triggered. This fixes some uses of jQuery’s ready event.
    Source Diff vs 1.92
  67. 1.92
    • Use Base64-based path info for server-generated URLs.
    Source Diff vs 1.91
  68. 1.91
    • Encode characters that cannot occur in URLs. This fixes canonical URLs for optimized images if those URLs contained special characters.
    Source Diff vs 1.90
  69. 1.90
    • 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.
    Source Diff vs 1.89
  70. 1.89
    • 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.
    Source Diff vs 1.88
  71. 1.88
    • Support document.currentScript in optimized scripts. (This fixed compatibility with PDF Embedder.)
    • Prevent (suppressed) notice from ob_end_clean.
    Source Diff vs 1.87
  72. 1.87
    • Handle <!doctype html ...> declarations correctly, and don’t insert <meta charset> before them. (This broke pages using old XHTML doctypes.)
    Source Diff vs 1.86
  73. 1.86
    • Disable PhastPress when editing with WPBakery.
    Source Diff vs 1.85
  74. 1.85
    • 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.
    Source Diff vs 1.84
  75. 1.84
    • 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.
    Source Diff vs 1.83
  76. 1.83
    • Insert path separators (/) into bundler URLs in order to avoid Apache’s 255 character filename limit.
    Source Diff vs 1.82
  77. 1.82
    • Ignore calls to document.write from async or defer scripts, in line with normal browser behaviour.
    Source Diff vs 1.81
  78. 1.81
    • Apply phast_no_defer script attribute to scripts generated by wp_localize_script.
    Source Diff vs 1.80
  79. 1.80
    • 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.
    Source Diff vs 1.79
  80. 1.79
    • Don’t defer AdThrive Ads scripts.
    Source Diff vs 1.78
  81. 1.78
    • Don’t resize images based on width/height attributes on img tags.
    Source Diff vs 1.77
  82. 1.77
    • Exclude cache from All-in-One WP Migration backups.
    • Only process JPEG, GIF and PNG images. (Fix regression in 1.65.)
    Source Diff vs 1.76
  83. 1.76
    • Don’t defer GA Google Analytics scripts.
    Source Diff vs 1.75
  84. 1.75
    • Don’t defer Google Site Kit Analytics script.
    • Add support for phast_no_defer script attribute.
    Source Diff vs 1.74
  85. 1.74
    • Add Last-Modified header to service response.
    Source Diff vs 1.73
  86. 1.73
    • 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.
    Source Diff vs 1.72
  87. 1.72
    • Fix CSS proxy URL generation not to include __p__ filename twice.
    Source Diff vs 1.71
  88. 1.71
    • Support URLs generated via Retina.js (when path info is enabled).
    Source Diff vs 1.70
  89. 1.70
    • Fix IE 11 stylesheet fallbacks.
    Source Diff vs 1.69
  90. 1.69
    • Convert <link onload="media='all'"> to <link media="all"> before inlining.
    • Elide media attribute on generated style tags if it is all.
    Source Diff vs 1.68
  91. 1.68
    • 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.
    Source Diff vs 1.67
  92. 1.67
    • 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.
    Source Diff vs 1.66
  93. 1.66
    • Images in AMP documents are now optimized. No other optimizations are performed in AMP documents.
    Source Diff vs 1.65
  94. 1.65
    • Add an option to lazy load images using native lazy loading (loading=lazy attribute). This is enabled by default.
    Source Diff vs 1.64
  95. 1.64
    • 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.
    Source Diff vs 1.63
  96. 1.63
    • Ensure that requestAnimationFrame callbacks run before onload event.
    • Don’t rewrite anchor URLs (like #whatever) in CSS.
    Source Diff vs 1.62
  97. 1.62
    • Rewrite each URL in a CSS rule, not just the first one.
    Source Diff vs 1.61
  98. 1.61
    • Disable PhastPress during Asset Cleanup: Page Speed Booster analysis.
    Source Diff vs 1.60
  99. 1.60
    • Only rewrite image URLs in arbitrary attributes inside the <body> tag.
    • Don’t optimize image URLs in attributes of <meta> tags.
    • When optimizing images, send the local PHP version to the API, to investigate whether PHP 5.6 support can be phased out.
    Source Diff vs 1.59
  100. 1.59
    • Fix writing existing read-only cache files (on Windows).
    Source Diff vs 1.58
  101. 1.58
    • Fix caching on Windows by not setting read-only permissions on cache files.
    • Add a checksum to cache files to prevent accidental modifications causing trouble.
    Source Diff vs 1.57
  102. 1.57
    • Rewrite image URLs in any attribute, as long as the URL points to a local file and ends with an image extension.
    Source Diff vs 1.56
  103. 1.56
    • Ignore link elements with empty href, or one that consists only of slashes.
    • Replace </style inside inlined stylesheets with </ style to prevent stylesheet content ending up inside the DOM.
    • Add font-swap: block for Ionicons.
    • Remove UTF-8 byte order mark from inlined stylesheets.
    Source Diff vs 1.55
  104. 1.55
    • Fix release.
    Source Diff vs 1.54-1-gde5bb35
  105. 1.54-1-gde5bb35

    No notes for this release in the current readme.

    Source Diff vs 1.54
  106. 1.54
    • Improve compatibility with Nimble Page Builder and Child Theme Configurator.
    Source Diff vs 1.53
  107. 1.53
    • Send uncompressed responses to Cloudflare. Cloudflare will handle compression.
    Source Diff vs 1.52
  108. 1.52
    • Stop excessive error messages when IndexedDB is unavailable.
    Source Diff vs 1.51
  109. 1.51
    • Process image URLs in data-src, data-srcset, data-wood-src and data-wood-srcset attributes on img tags.
    Source Diff vs 1.50
  110. 1.50
    • This release should have updated Phast to version 1.47, but didn’t, by accident.
    Source Diff vs 1.49
  111. 1.49
    • Whitelist cdnjs.cloudflare.com for CSS processing.
    Source Diff vs 1.48
  112. 1.48
    • Use font-display: block for icon fonts (currently Font Awesome, GeneratePress and Dashicons).
    Source Diff vs 1.47
  113. 1.47
    • Support data-pagespeed-no-defer and data-cfasync="false" attributes on scripts for disabling script deferral (in addition to data-phast-no-defer).
    • Leave data-{phast,pagespeed}-no-defer and data-cfasync attributes in place to aid debugging.
    Source Diff vs 1.46
  114. 1.46
    • Base64 encode the config JSON passed to the frontend, to stop Gtranslate or other tools from mangling the service URL that is contained in it.
    Source Diff vs 1.45
  115. 1.45
    • Speed up script load, and fix a bug with setTimeout functions running before the next script is loaded.
    Source Diff vs 1.44
  116. 1.44
    • Support compressed external resources (ie, proxied styles and scripts).
    Source Diff vs 1.43
  117. 1.43
    • Image optimization functionality works again. You will have to re-enable it in the settings panel.
    • Add s.pinimg.com, google-analytics.com/gtm/js to script proxy whitelist.
    Source Diff vs 1.42
  118. 1.42
    • Remove blob script only after load. This fixes issues with scripts sometimes not running in Safari.
    Source Diff vs 1.41
  119. 1.41
    • Fixed a regression causing external scripts to be executed out of order.
    Source Diff vs 1.39
  120. 1.39
    • Clean any existing output buffer, instead of flushing it, before starting Phast output buffer.
    Source