Back to mnoGoSearch site

mnoGoSearch 3.2.43 reference manual: Full-featured search engine software
PrevChapter 8. Searching documentsNext

Search results cache

Search results cache allows a very fast search.cgi report on recently used queries as well as user's navigation though the pages of the same result.

Search results cache is disabled by default. You may use "Cache yes" search.htm command to enable results caching.

Search cache is located in the $PREFIX/var/cache/ subdirectory, where $PREFIX is mnoGoSearch installation's base directory. Each result is stored in a separate file.

Note: Search results cache is not deleted automatically. You have to delete it every time after indexer's work to avoid displaying non-recent cached results. It is also reasonable to insert cache cleaning into system crontab, for example once a day. To clean cache, just remove all files in the $PREFIX/var/cache/ directory. For example:

/bin/rm -f /usr/local/mnoGoSearch/var/cache/*