Skip to content

Commit e8306de

Browse files
BEG-81: Update readme to include additional index information
1 parent 619bdbc commit e8306de

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# magento2-prerender-io
2-
Provides integration between Magento 2 and [Prerender.io](https://prerender.io), giving the ability for product pages to be automatically recached when a product is updated.
2+
Provides integration between Magento 2 and [Prerender.io](https://prerender.io), giving the ability for pages to be automatically recached when required.
33

44
## Overview
5-
This module provides a new indexer, `prerender_io_product`, which will send URL recache requests to Prerender.io (in batches of up to 1000) when changes are made to products.
6-
This will ensure that the cache product pages are kept up-to-date at all times.
5+
This module provides new indexers:
6+
7+
- `prerender_io_product`, which will send URL recache requests for products to Prerender.io (in batches of up to 1000) when changes are made to products.
8+
- `prerender_io_category`, which will send URL recache requests for categories to Prerender.io (in batches of up to 1000) when changes are made to categories.
9+
- `prerender_io_category_product`, which will send URL recache requests for categories to Prerender.io (in batches of up to 1000) when changes are made to products.
10+
11+
These will ensure that the cached pages are kept up-to-date at all times.
712

813
## Installation
914
To install via composer, simply run:
@@ -12,12 +17,12 @@ To install via composer, simply run:
1217
composer require aligent/magento2-prerender-io
1318
```
1419

15-
Then, ensure the module is installed and the index is set to `Schedule`:
20+
Then, ensure the module is installed and the indexers are set to `Schedule`:
1621

1722
```bash
1823
bin/magento module:enable Aligent_PrerenderIo
1924
bin/magento setup:upgrade
20-
bin/magento indexer:set-mode schedule prerender_io_product
25+
bin/magento indexer:set-mode schedule prerender_io_product prerender_io_category prerender_io_category_product
2126
```
2227

2328
## Configuration

0 commit comments

Comments
 (0)