Permalink
Browse files

Temporarily remove demo link (#88)

  • Loading branch information...
khempenius authored and mgechev committed Dec 14, 2018
1 parent e8f017e commit c5ce45ffbff00f3bf8001929375f873f1cdf1e3a
Showing with 1 addition and 3 deletions.
  1. +1 −3 experiments/guess-static-sites/README.md
@@ -10,8 +10,6 @@ Guess.js for non-Webpack sites.

:heavy_check_mark: **Intelligent:** Predictive fetching uses the client's connection type to determine whether a resource should be prefetched.

:point_right: <a href="https://guess-static-sites-demo.firebaseapp.com/" target="_blank">View Demo</a>
## How guess-static-sites works

This directory uses Google Analytics data to determine which page a user is mostly likely to visit next from a given page (***generatePredictions.js***).
@@ -146,4 +144,4 @@ $ db.predictions.find()
#### iii) (Optional) Setup a cron job
It is recommended that you set up a cron job to periodically re-run generatePredictions.js. This will ensure that the prefetch links are as accurate as possible. The ideal frequency of this cron job depends on how frequently your site changes.

You can also experiment with the date range of data that is used to generate predictions. By default, GuessJS uses the last 30 days of traffic to generate predictions, but this value can be changed (this is located in file: *src/queryParams.js*). It's important to have a sufficiently large data set, so the ideal date range will largely depend on a site's traffic volume. A very high-traffic site might find that using the last 1-7 days of traffic works best, while a low-traffic site find that using the last 30 days works best.
You can also experiment with the date range of data that is used to generate predictions. By default, GuessJS uses the last 30 days of traffic to generate predictions, but this value can be changed (this is located in file: *src/queryParams.js*). It's important to have a sufficiently large data set, so the ideal date range will largely depend on a site's traffic volume. A very high-traffic site might find that using the last 1-7 days of traffic works best, while a low-traffic site find that using the last 30 days works best.

0 comments on commit c5ce45f

Please sign in to comment.