0.0.1 • Published 9 years ago

prerender-cache-azure-blob v0.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

Prerender cache plugin

Prerender JS cache plugin implemented using azure blob storage for on-premise phantomjs instances, inspired in S3 Amazon cache plugin included in the source of prerender service.

Install

 npm install prerender-cache-azure-blob --save

In your <prerender_folder>/server.js append the following content:

 server.use(require('prerender-cache-azure-blob')); 

Run Prerender.

Credentials

In order to setup your azure storage credentials you can use:

  • Environment variables - AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_ACCESS_KEY, or AZURE_STORAGE_CONNECTION_STRING.

As described here: Azure Storage SDK Docs