Приветствую. Вопрос по работе скрипта lgsl, при каждом обновлении страницы скрипт записывает данные в БД или с интервалом в целях экономии трафика? Всетаки думаю с интервалом. В БД нашел поле cache и так же поле cache_time.
Моя задумка сделать обновление только через lgsl_cron. Запускать с диапазоном в 5ть минут. Это нам позволит сделать поиск по карте, игрокам, etc. Хотя со стороны экономии трафика не знаю.
Нашел документацию по lgsl_cron.php, знаю что обновление данных о серверах но пока не совсем понятно.
If you have more than 20 servers in your list, and you need the server information to be more accurate as to current players and map information, then you can schedule updates.
Since LGSL updates when viewed, there has to be a limit on the update time otherwise the page would take a long time to load while it polls all the servers.
By scheduling the webserver to 'view' LGSL at regular intervals, the server information is cached ready for when a visitor views LGSL. Scheduling on webservers is known as a 'cron job'.
Setting up a cron differs between hosts, so you may need find out what method your host supports, but here are examples of cron commands that I have used in the past.
Before setting up the cron, its recommended that you view the lgsl_cron.php in your browser to make sure that there are no errors, and you can see how long it takes to update the servers.
Posts: 6 Joined: Fri Jun 10 2011, 10:53AM Registered Member #6765
how i can disable the auto caching?
Anonymous
Thu Jul 28 2011, 10:52AM
Guest
How disable auto cashe and enable cron running?
Anonymous
Thu Jul 28 2011, 10:53AM
Guest
Как выключить автоматическое создание кеша и включить обновление кеша по крону?
Anonymous
Thu Aug 11 2011, 04:32PM
Guest
Как устранить такую проблему? (не показываются картинки) это ссылка с мониторинга http://мой сайт/#LGSL_PATH_PROBLEM#/var/www/мой сайт#/var/www/joomla/components/com_lgsl/lgsl_files#/locations/OFF.png
Anonymous
Fri Aug 26 2011, 04:02PM
Guest
Русский: Где найти [ REQUIRES ADMIN APPROVAL ]?
English: Where can I find [ REQUIRES ADMIN APPROVAL ]?