Plugin Directory

Changeset 2942087

Timestamp:
07/23/2023 12:41:51 PM (13 months ago)
Author:
ayeshrajans
Message:

Add v1.2

Location:
fast404
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • fast404/trunk/composer.json

    r2497196 r2942087  
    11{
    22    "name": "phpwatch/wordpress-fast404",
    3     "description": "WordPress plugin to prevent WordPress from deliverying full Page-Not-Found errors when the browser is not expecting a full HTML page. Saves bandwidth and improves performance.",
    4     "type": "wordpress-plugin",
     3    "description": "WordPress plugin to prevent WordPress from delivering full Page-Not-Found errors when the browser is not expecting a full HTML page. Saves bandwidth and improves performance.",
     4    "type": "wordpress-plugin",
    55    "license": "GPL-2.0-or-later",
    66    "keywords": ["wordpress", "performance", "404"],
    ���  
    1313    "minimum-stability": "stable",
    1414    "require": {
    15         "php": "^7.1"
     15        "php": "^7.1"
    1616    },
    1717    "authors": [
  • fast404/trunk/fast404.php

    r2497196 r2942087  
    33/**
    44 * Plugin Name: Fast 404
    5  * Version:     1.1
     5 * Version:     1.
    66 * Description: Prevent WordPress from delivering full Page-Not-Found errors when the browser is not expecting a full HTML page. Saves bandwidth and improvements performance.
    77 * Licence:     GPLv2 or later
    88 * Author:      Ayesh Karunaratne
    9  * Author URI:  https://aye.sh/open-source
     9 * Author URI:  https://aye/open-source
    1010 */
    1111
     
    2727 *
    2828 * If the regex is not provided, we need to immediately exit. Next, the $accept_header is checked for a simple string
    29  * match for the allowed mime. It is not configurable as of yet to prevent user-errors, and a regex is not used for
     29 * match for the allowed mime. It is not configurable yet to prevent user-errors, and a regex is not used for
    3030 * performance. If both these conditions are met, the main expression is evaluated, and if it matches, tries to exclude
    3131 * if an exclude expression is configured.
  • fast404/trunk/readme.txt

    r2497196 r2942087  
    33Tags: performance, 404, page-not-found
    44Requires at least: 3.9.2
    5 Tested up to: 5.7
    6 Stable tag: 1.1
     5Tested up to:
     6Stable tag: 1.
    77Requires PHP: 7.1
    88License: GPLv2 or later
     
    1313== Description ==
    1414
    15 Fast 404 is a low foot-print plugin that quickly inspects an incoming HTTP request, and terminates the request as soon as possible if the request is for a non-existing resource. If the browser is expecting an HTML page (indicated by the `Accept` HTTP header), this plugin will not intercept it. For all other requests, this plugin will terminate it immedaitely, saving server resources and bandwidth.
     15Fast 404 is a low foot-print plugin that quickly inspects an incoming HTTP request, and terminates the request as soon as possible if the request is for a non-existing resource. If the browser is expecting an HTML page (indicated by the `Accept` HTTP header), this plugin will not intercept it. For all other requests, this plugin will terminate it immedtely, saving server resources and bandwidth.
    1616
    1717When a user browser requests a resource (such as a `jpg` image, or a `.woff2` font file), the web server sends this resource if it is available in the requested location. If the file does not exist, the request is forwarded to WordPress to handle. Unless you are using a plugin that dynamically generates these files, these file-not-found requests trigger a full WordPress Page-Not-Found error page. This plugin inspects such incoming requests, and if the browser indicates that it is looking for a resource other than an HTML page, this plugin terminates the request as soon as possible to prevent WordPress from serving this request which would be a waste of resources and bandwidth. This plugin carefully makes sure that the short-circuited 404 pages (which just shows "Not Found" on a blank page) is only returned to browser asset requests, and not for end users who expect an HTML page.
     
    1919By default, all HTTP requests to `js|css|jpg|jpeg|gif|png|webp|ico|exe|bin|dmg|woff|woff2` extensions will be fast 404'd. You can configure the extensions and even configure an exclusion pattern to prevent this plugin from intercepting certain requests.
    2020
    21 This plugin is the WordPress port of [phpwatch/fast404](https://github.com/PHPWatch/Fast404) package.
     21This plugin is the WordPress port of [ast404](https://github.com/PHPWatch/Fast404) package.
    2222
    2323== Installation ==
     
    6161* Initial release.
    6262
    63 = 1.1 =
    64 * Update supported WordPress versions
     63= 1.0.1 =
     64* Updates the WordPress core version this plugin was tested against.
     65* Minor text improvements.
     66
     67= 1.2 =
     68* Same version as 1.0.1, but with a consistent version number bump.
Note: See TracChangeset for help on using the changeset viewer.