diff --git a/composer.json b/composer.json index 61b06c48..7017dacb 100644 --- a/composer.json +++ b/composer.json @@ -88,7 +88,7 @@ "newfold-labs/wp-module-notifications": "^1.6.6", "newfold-labs/wp-module-onboarding": "^2.5.5", "newfold-labs/wp-module-patterns": "^2.8.1", - "newfold-labs/wp-module-performance": "^2.2.0", + "newfold-labs/wp-module-performance": "^2.3.0", "newfold-labs/wp-module-runtime": "^1.0.12", "newfold-labs/wp-module-secure-passwords": "^1.1.1", "newfold-labs/wp-module-sso": "^1.0.7", diff --git a/composer.lock b/composer.lock index d69c4d61..1127bcdf 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "471371999764658c561cb16a3ad56fed", + "content-hash": "08b8fd0f3372ff83905e14acecbe1202", "packages": [ { "name": "doctrine/inflector", @@ -1739,16 +1739,16 @@ }, { "name": "newfold-labs/wp-module-performance", - "version": "2.2.0", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-performance.git", - "reference": "a941dd7424672e51f6c47b69ec8e3427c8ebc850" + "reference": "ffa62851d63638302c936a8400723a02c0ceb658" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-performance/zipball/a941dd7424672e51f6c47b69ec8e3427c8ebc850", - "reference": "a941dd7424672e51f6c47b69ec8e3427c8ebc850", + "url": "https://api.github.com/repos/newfold-labs/wp-module-performance/zipball/ffa62851d63638302c936a8400723a02c0ceb658", + "reference": "ffa62851d63638302c936a8400723a02c0ceb658", "shasum": "" }, "require": { @@ -1784,10 +1784,10 @@ ], "description": "A module for managing caching functionality.", "support": { - "source": "https://github.com/newfold-labs/wp-module-performance/tree/2.2.0", + "source": "https://github.com/newfold-labs/wp-module-performance/tree/2.3.0", "issues": "https://github.com/newfold-labs/wp-module-performance/issues" }, - "time": "2025-01-02T11:49:56+00:00" + "time": "2025-01-08T16:08:21+00:00" }, { "name": "newfold-labs/wp-module-pls", @@ -4155,11 +4155,11 @@ } ], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [], + "platform": {}, + "platform-dev": {}, "platform-overrides": { "php": "7.3.0" }, diff --git a/languages/wp-plugin-hostgator-es_MX-2cfc069213ff992ea7c7d9cc4f84741a.json b/languages/wp-plugin-hostgator-es_MX-2cfc069213ff992ea7c7d9cc4f84741a.json index cf101569..767c3ad9 100644 --- a/languages/wp-plugin-hostgator-es_MX-2cfc069213ff992ea7c7d9cc4f84741a.json +++ b/languages/wp-plugin-hostgator-es_MX-2cfc069213ff992ea7c7d9cc4f84741a.json @@ -839,6 +839,27 @@ ], "Something went wrong while updating the settings. Please try again.": [ "Algo sali\u00f3 mal al actualizar las configuraciones. Por favor, int\u00e9ntalo de nuevo." + ], + "Skip 404": [ + "Omitir 404" + ], + "When enabled, static resources like images and fonts will use a default server 404 page and not WordPress 404 pages. Pages and posts will continue using WordPress for 404 pages. This can considerably speed up your website if a static resource like an image or font is missing.": [ + "Cuando est\u00e1 habilitado, los recursos est\u00e1ticos como im\u00e1genes y fuentes usar\u00e1n una p\u00e1gina 404 predeterminada del servidor y no las p\u00e1ginas 404 de WordPress. Las p\u00e1ginas y publicaciones continuar\u00e1n usando WordPress para las p\u00e1ginas 404. Esto puede acelerar considerablemente tu sitio web si falta un recurso est\u00e1tico como una imagen o fuente." + ], + "Skip 404 saved": [ + "Omitir 404 guardado" + ], + "Exclude from cache": [ + "Excluir del cach\u00e9" + ], + "This setting controls what pages pass a \u201cno-cache\u201d header so that page caching and browser caching is not used.": [ + "Esta configuraci\u00f3n controla qu\u00e9 p\u00e1ginas tienen un encabezado \u201cno-cache\u201d para que no se utilicen el cach\u00e9 de p\u00e1ginas ni el cach\u00e9 del navegador." + ], + "Cache Exclusion saved": [ + "Exclusi\u00f3n de cach\u00e9 guardada" + ], + "Save": [ + "Guardar" ] } } diff --git a/languages/wp-plugin-hostgator-es_MX.mo b/languages/wp-plugin-hostgator-es_MX.mo index 3a831776..ecca2390 100644 Binary files a/languages/wp-plugin-hostgator-es_MX.mo and b/languages/wp-plugin-hostgator-es_MX.mo differ diff --git a/languages/wp-plugin-hostgator-es_MX.po b/languages/wp-plugin-hostgator-es_MX.po index 5f424951..fee38fda 100644 --- a/languages/wp-plugin-hostgator-es_MX.po +++ b/languages/wp-plugin-hostgator-es_MX.po @@ -1279,3 +1279,31 @@ msgstr "Cuando está habilitado, las imágenes optimizadas se mostrarán en luga #: build/2.12.6/index.js:6 msgid "Something went wrong while updating the settings. Please try again." msgstr "Algo salió mal al actualizar las configuraciones. Por favor, inténtalo de nuevo." + +#: build/2.12.6/index.js:6 +msgid "Skip 404" +msgstr "Omitir 404" + +#: build/2.12.6/index.js:6 +msgid "When enabled, static resources like images and fonts will use a default server 404 page and not WordPress 404 pages. Pages and posts will continue using WordPress for 404 pages. This can considerably speed up your website if a static resource like an image or font is missing." +msgstr "Cuando está habilitado, los recursos estáticos como imágenes y fuentes usarán una página 404 predeterminada del servidor y no las páginas 404 de WordPress. Las páginas y publicaciones continuarán usando WordPress para las páginas 404. Esto puede acelerar considerablemente tu sitio web si falta un recurso estático como una imagen o fuente." + +#: build/2.12.6/index.js:6 +msgid "Skip 404 saved" +msgstr "Omitir 404 guardado" + +#: build/2.12.6/index.js:6 +msgid "Exclude from cache" +msgstr "Excluir del caché" + +#: build/2.12.6/index.js:6 +msgid "This setting controls what pages pass a “no-cache” header so that page caching and browser caching is not used." +msgstr "Esta configuración controla qué páginas tienen un encabezado “no-cache” para que no se utilicen el caché de páginas ni el caché del navegador." + +#: build/2.12.6/index.js:6 +msgid "Cache Exclusion saved" +msgstr "Exclusión de caché guardada" + +#: build/2.12.6/index.js:6 +msgid "Save" +msgstr "Guardar" diff --git a/languages/wp-plugin-hostgator-pt_BR-2cfc069213ff992ea7c7d9cc4f84741a.json b/languages/wp-plugin-hostgator-pt_BR-2cfc069213ff992ea7c7d9cc4f84741a.json index df0706f2..35e0e545 100644 --- a/languages/wp-plugin-hostgator-pt_BR-2cfc069213ff992ea7c7d9cc4f84741a.json +++ b/languages/wp-plugin-hostgator-pt_BR-2cfc069213ff992ea7c7d9cc4f84741a.json @@ -839,6 +839,27 @@ ], "Something went wrong while updating the settings. Please try again.": [ "Algo deu errado ao atualizar as configura\u00e7\u00f5es. Por favor, tente novamente." + ], + "Skip 404": [ + "Ignorar 404" + ], + "When enabled, static resources like images and fonts will use a default server 404 page and not WordPress 404 pages. Pages and posts will continue using WordPress for 404 pages. This can considerably speed up your website if a static resource like an image or font is missing.": [ + "Quando ativado, recursos est\u00e1ticos como imagens e fontes usar\u00e3o uma p\u00e1gina 404 padr\u00e3o do servidor e n\u00e3o as p\u00e1ginas 404 do WordPress. P\u00e1ginas e posts continuar\u00e3o usando o WordPress para p\u00e1ginas 404. Isso pode acelerar consideravelmente seu site se um recurso est\u00e1tico, como uma imagem ou fonte, estiver ausente." + ], + "Skip 404 saved": [ + "Ignorar 404 salvo" + ], + "Exclude from cache": [ + "Excluir do cache" + ], + "This setting controls what pages pass a \u201cno-cache\u201d header so that page caching and browser caching is not used.": [ + "Esta configura\u00e7\u00e3o controla quais p\u00e1ginas recebem um cabe\u00e7alho \u201cno-cache\u201d, para que o cache de p\u00e1gina e o cache do navegador n\u00e3o sejam usados." + ], + "Cache Exclusion saved": [ + "Exclus\u00e3o de cache salva" + ], + "Save": [ + "Salvar" ] } } diff --git a/languages/wp-plugin-hostgator-pt_BR.mo b/languages/wp-plugin-hostgator-pt_BR.mo index 88d1529d..0cdadcf8 100644 Binary files a/languages/wp-plugin-hostgator-pt_BR.mo and b/languages/wp-plugin-hostgator-pt_BR.mo differ diff --git a/languages/wp-plugin-hostgator-pt_BR.po b/languages/wp-plugin-hostgator-pt_BR.po index d714ac75..9c100a11 100644 --- a/languages/wp-plugin-hostgator-pt_BR.po +++ b/languages/wp-plugin-hostgator-pt_BR.po @@ -1279,3 +1279,31 @@ msgstr "Quando ativada, imagens otimizadas serão exibidas no lugar das imagens #: build/2.12.6/index.js:6 msgid "Something went wrong while updating the settings. Please try again." msgstr "Algo deu errado ao atualizar as configurações. Por favor, tente novamente." + +#: build/2.12.6/index.js:6 +msgid "Skip 404" +msgstr "Ignorar 404" + +#: build/2.12.6/index.js:6 +msgid "When enabled, static resources like images and fonts will use a default server 404 page and not WordPress 404 pages. Pages and posts will continue using WordPress for 404 pages. This can considerably speed up your website if a static resource like an image or font is missing." +msgstr "Quando ativado, recursos estáticos como imagens e fontes usarão uma página 404 padrão do servidor e não as páginas 404 do WordPress. Páginas e posts continuarão usando o WordPress para páginas 404. Isso pode acelerar consideravelmente seu site se um recurso estático, como uma imagem ou fonte, estiver ausente." + +#: build/2.12.6/index.js:6 +msgid "Skip 404 saved" +msgstr "Ignorar 404 salvo" + +#: build/2.12.6/index.js:6 +msgid "Exclude from cache" +msgstr "Excluir do cache" + +#: build/2.12.6/index.js:6 +msgid "This setting controls what pages pass a “no-cache” header so that page caching and browser caching is not used." +msgstr "Esta configuração controla quais páginas recebem um cabeçalho “no-cache”, para que o cache de página e o cache do navegador não sejam usados." + +#: build/2.12.6/index.js:6 +msgid "Cache Exclusion saved" +msgstr "Exclusão de cache salva" + +#: build/2.12.6/index.js:6 +msgid "Save" +msgstr "Salvar" diff --git a/languages/wp-plugin-hostgator.pot b/languages/wp-plugin-hostgator.pot index 1d32af73..db9386de 100644 --- a/languages/wp-plugin-hostgator.pot +++ b/languages/wp-plugin-hostgator.pot @@ -905,6 +905,34 @@ msgstr "" msgid "Something went wrong while updating the settings. Please try again." msgstr "" +#: build/2.12.6/index.js:6 +msgid "Skip 404" +msgstr "" + +#: build/2.12.6/index.js:6 +msgid "When enabled, static resources like images and fonts will use a default server 404 page and not WordPress 404 pages. Pages and posts will continue using WordPress for 404 pages. This can considerably speed up your website if a static resource like an image or font is missing." +msgstr "" + +#: build/2.12.6/index.js:6 +msgid "Skip 404 saved" +msgstr "" + +#: build/2.12.6/index.js:6 +msgid "Exclude from cache" +msgstr "" + +#: build/2.12.6/index.js:6 +msgid "This setting controls what pages pass a “no-cache” header so that page caching and browser caching is not used." +msgstr "" + +#: build/2.12.6/index.js:6 +msgid "Cache Exclusion saved" +msgstr "" + +#: build/2.12.6/index.js:6 +msgid "Save" +msgstr "" + #: build/2.12.6/index.js:6 msgid "This is where you can manage cache settings for your website." msgstr "" diff --git a/src/app/pages/performance/index.js b/src/app/pages/performance/index.js index 2f674fe1..ce852c6f 100644 --- a/src/app/pages/performance/index.js +++ b/src/app/pages/performance/index.js @@ -357,6 +357,26 @@ const PerformancePage = () => { 'Something went wrong while updating the settings. Please try again.', 'wp-plugin-hostgator' ), + skip404Title: __( 'Skip 404', 'wp-plugin-hostgator' ), + skip404Description: __( + 'When enabled, static resources like images and fonts will use a default server 404 page and not WordPress 404 pages. Pages and posts will continue using WordPress for 404 pages. This can considerably speed up your website if a static resource like an image or font is missing.', + 'wp-plugin-hostgator' + ), + skip404NoticeTitle: __( 'Skip 404 saved', 'wp-plugin-hostgator' ), + skip404Notice: __( 'Skip 404 saved', 'wp-plugin-hostgator' ), + cacheExclusionTitle: __( + 'Exclude from cache', + 'wp-plugin-hostgator' + ), + cacheExclusionDescription: __( + 'This setting controls what pages pass a “no-cache” header so that page caching and browser caching is not used.', + 'wp-plugin-hostgator' + ), + cacheExclusionSaved: __( + 'Cache Exclusion saved', + 'wp-plugin-hostgator' + ), + cacheExclusionSaveButton: __( 'Save', 'wp-plugin-hostgator' ), }, };