phoxy/clap

Make html snapshot for search engines

Maintainers

Details

github.com/phoxy/clap

Source

Issues

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 1

Language:JavaScript

v0.1.2 2016-05-28 11:35 UTC

This package is auto-updated.

Last update: 2024-03-07 20:31:09 UTC


README

=== Making snapshot of phoxy

=== Installing

Add to your composer.json

  "config":
  {
    "bin-dir": "bin"
  },
  "scripts":
  {
    "post-package-install":
    [
      "PhantomInstaller\\Installer::installPhantomJS"
    ]
  }

Add to your warmup.js (or create your lazy config)

  OnFirstPageRendered: function()
  {
    if (typeof window.callPhantom == 'function')
      window.callPhantom('clap');
  }