Gravatar for dan@getfishtank.ca

Question by Dan Cruickshank, Jun 13, 2014 12:01 PM

Warming-up JS UI

When I check the documentation, the configiuraton -> pre-loading tab in the admin interface seems to be geared at .NET installations.

1) To keep the JS UI warm, I think point pre-loading url at https://host/Coveo/Rest/ makes sense. Yes?

2) The documentation references wakeup=1 appended to the query string that kicks off a tagging refresh. Is there an equivalent to this when using JS UI?

Thanks!

1 Reply
Gravatar for mlaporte@coveo.com

Answer by Martin Laporte, Jun 16, 2014 4:31 AM

The pre-loading you're mentioning was to 1) ensure the .NET UI had all the required pages and classes compiled and loaded, and 2) keeping the stuff needed for query execution hot in the OS cache. There is no real equivalent to 1) with the JS UI (well, not of the same size anyway), but 2) might still apply. Indeed I don't see why this couldn't be used to keep the REST API behind the JS UI hot.

Gravatar for dan@getfishtank.ca

Comment by Dan Cruickshank, Jun 16, 2014 9:53 AM

Thanks. I'll play around with it a little more. See if I can find an effective way to keep it "hot"

Ask a question