Skip to content

Pre-rendering and caching of Reaction Commerce Products for better SEO, using Chrome Headless

Notifications You must be signed in to change notification settings

artlimes/reaction-commerce-caching-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Reaction Commerce Caching Plugin

Allows for Meteor Spiderable caching of products through Chrome Headless

This plugin is used in conjunction with Meteor Chrome Headless Spiderable

Installation

  1. Copy/Clone folder to plugins/custom.
  2. Install artlimes:meteor-chrome-headless-spiderable by running meteor add artlimes:meteor-chrome-headless-spiderable
  3. to cache all your existing visible products open DevTools and run the following in the console:
Meteor.call("caching/allProducts");
// OR
Meteor.call("caching/allProducts", productId);
// OR
Meteor.call("caching/allProducts", productSlug);

This is a convenience method to cache all your visible Product(s). Note that each visible product will get cached automatically after every publish.

About

Pre-rendering and caching of Reaction Commerce Products for better SEO, using Chrome Headless

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published