Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 9fcc820

Browse files
hguthriebdenham
andauthored
Apply suggestions from code review
Co-authored-by: Bruce Denham <bdenham@adobe.com>
1 parent 703547a commit 9fcc820

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/guides/v2.4/config-guide/remote-storage/config-remote-storage-caching.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Remote storage provides a cache layer for external API calls. The caching is bas
1717
{:.procedure}
1818
To use Redis cache with [predis/predis][predis] extension:
1919

20-
1. Add the `predis/predis` extension to the require section of your `composer.json` file.
20+
1. Add the `predis/predis` extension to the `require` section of your `composer.json` file.
2121

2222
```bash
2323
composer require predis/predis
@@ -43,4 +43,4 @@ To use Redis cache with [predis/predis][predis] extension:
4343

4444
<!-- link definitions -->
4545
[flysystem]: https://flysystem.thephpleague.com/v1/docs/advanced/caching
46-
[predis]: https://github.com/predis/predis
46+
[predis]: https://github.com/predis/predis

src/guides/v2.4/config-guide/remote-storage/config-remote-storage-image-resize.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ functional_areas:
66
- System
77
---
88

9-
Magento supports image resizing on the application side by default. With the Remote Storage module enabled, you can offload image resizing to the server side using Nginx, which is a simple and efficient way to save disk resources and optimize disk usage.
9+
By default, Magento supports image resizing on the application side. However, by enabling the Remote Storage module, you can use Nginx to offload image resizing to the server side, where you can save disk resources and optimize disk usage.
1010

11-
The following diagram shows the process to store an image using Nginx, and whether the image requires resizing before it is stored in the cache. The resizing is determined by the parameters included in the URL, such as height and width.
11+
The following diagram shows how Nginx retrieves, resizes, and stores images in the cache. Resizing is determined by the parameters included in the URL, such as height and width.
1212

1313
![image resize]
1414

1515
## Configure URL format in Magento
1616

17-
To perform an image resizing on the server side, you must configure Magento to provide the height and width arguments and a link to the image.
17+
To resize images on the server side, you must configure Magento to provide arguments for the height, width, and location (URL) of the image.
1818

1919
{:.procedure}
2020
To configure Magento for server-side image resizing:
@@ -33,7 +33,7 @@ To configure Magento for server-side image resizing:
3333

3434
## Configure Nginx
3535

36-
To continue the configuration to perform the server-side image resizing, you must prepare the `nginx.conf` file and provide a `proxy_pass` value for your chosen adapter.
36+
To continue configuring server-side image resizing, you must prepare the `nginx.conf` file and provide a `proxy_pass` value for your chosen adapter.
3737

3838
{:.procedure}
3939
To enable Nginx to resize images:

src/guides/v2.4/config-guide/remote-storage/config-remote-storage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ functional_areas:
77
- Setup
88
---
99

10-
The Remote Storage module provides the option to store media files and schedule imports/exports in a persistent, remote storage container using a storage service, such as AWS S3 or Azure Blob Storage. By default, Magento stores media files in the same filesystem that contains the application. This is not efficient for complex, multi-server configurations, which can result in degraded performance when sharing resources. With this module, you can store media files in the `pub/media` directory and import/export files in the `var` directory in the remote object storage and take advantage of server-side image resizing.
10+
The Remote Storage module provides the option to store media files and schedule imports/exports in a persistent, remote storage container using a storage service, such as AWS S3 or Azure Blob Storage. By default, Magento stores media files in the same filesystem that contains the application. This is inefficient for complex, multi-server configurations, and can result in degraded performance when sharing resources. With the Remote Storage module, you can store media files in the `pub/media` directory and import/export files in the `var` directory of the remote object storage to take advantage of server-side image resizing.
1111

1212
![schema image]
1313

@@ -32,7 +32,7 @@ The `parameter-name` refers to the specific remote storage parameter name. The f
3232

3333
### Storage adapters
3434

35-
The default storage location is the local filesystem. A _storage adapter_ enables you to connect to a storage service and store your files anywhere. Magento supports configuring the following storage services:
35+
The default storage location is in the local filesystem. A _storage adapter_ enables you to connect to a storage service and store your files anywhere. Magento supports configuring the following storage services:
3636

3737
- [Amazon Simple Storage Service (Amazon S3)][AWS S3]
3838

@@ -71,4 +71,4 @@ The sync command only migrates files in the `pub/media` directory, _not_ the imp
7171
[nginx-module]: http://nginx.org/en/docs/http/ngx_http_image_filter_module.html
7272
[schema image]: {{site.baseurl}}/common/images/config-remote-storage-schema.png
7373
{:width="500px"}
74-
[setup]: {{site.baseurl}}/guides/v2.4/install-gde/install/cli/install-cli-subcommands-deployment.html#instgde-cli-subcommands-configphp
74+
[setup]: {{site.baseurl}}/guides/v2.4/install-gde/install/cli/install-cli-subcommands-deployment.html#instgde-cli-subcommands-configphp

src/guides/v2.4/install-gde/install/cli/install-cli-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The install command uses the following format:
6666
magento setup:install --<option>=<value> ... --<option>=<value>
6767
```
6868

69-
The following tables describe the installation option names and values. For example installation commands. See [Sample localhost installations](#install-cli-example).
69+
The following tables describe the installation option names and values, such as installation commands. See [Sample localhost installations](#install-cli-example).
7070

7171
{:.bs-callout-info}
7272
Any options that contain spaces or special characters must be enclosed in either single or double quotes.

0 commit comments

Comments
 (0)