+  HandyCache форум
|-+  Главная категория» English forum» ask about HC ext
Имя пользователя:
Пароль:
Страниц: [1]   Вниз
  Отправить эту тему    Печать  
Автор Тема: ask about HC ext  (Прочитано 4778 раз)
0 Пользователей и 1 Гость смотрят эту тему.
kyushadow
Новичок
*

Репутация: +0/-0
Offline Offline

Сообщений: 29



« : 23 октября 2012, 20:57:46 »

my second question in this forum, hopefully someone can help me answer it Улыбка

if we use squid we can see the report about cache effect by using squidmon
and i want to ask about it, is their any HC ext that have the same function like squidmon??
if not, is their someone can help me wrote the program?? because to be honest i can't make
my own ext and i'm still learning loa

Note : I don't mean to compare the squid with handycache (both program are great)  Отлично!
« Последнее редактирование: 23 октября 2012, 21:03:49 от kyushadow » Сообщить модератору   Записан

IMPOSSIBLE IS NOTHING
mai62
Автор HC
*****

Репутация: +226/-4
Offline Offline

Сообщений: 6383


« Ответ #1 : 23 октября 2012, 22:19:32 »

What information do you want to get from ext?
Сообщить модератору   Записан
mirny
Пользователь
**

Репутация: +11/-1
Offline Offline

Сообщений: 84


« Ответ #2 : 23 октября 2012, 22:30:40 »

kyushadow,
I'm too lazy to install Squid just to see what you talking about and other ppl here (and mai62) probably too, so it would be helpful if you provided some screencaps to illustrate your thought.

Anyway writing extensions isn't rocket science. There's a ton of extensions that you can use as example here on the forum and in HC distribution.

Also look HCExtensions.html for API.
Сообщить модератору   Записан
kyushadow
Новичок
*

Репутация: +0/-0
Offline Offline

Сообщений: 29



« Ответ #3 : 23 октября 2012, 23:28:43 »

mai62,
thanks for fast reply

mirny,
sorry i don't mean to bother you or any member in this forum to install squid,
and for the ext i also thanks for the clue, but the problem is i already search in
this forum and i can't find ext that i want it  Непонимаю

okay i will explain it more detail Улыбка

here is the example if i running program squidmon :

cache effect: 12.02%, save 28668.19K of 238456.12K
most accessed sites (by traffic)
URI                                             Kbytes                    Ratio
download.windowsupdate.com         50851                     0.64
dnl-00.geo.kaspersky.com               44885                     0.00
au.download.windowsupdate.com     13564                     0.00
armdl.adobe.com                           11642                     0.00
profile.ak.fbcdn.net                        8116                      19.94
safebrowsing-cache.google.com       6796                       2.15
www.facebook.com                       5679                        0.18
ekartama.com                                5251                     36.88
dnl-17.geo.kaspersky.com                4926                     12.81
3347-mozilla.voxcdn.com                 4695                      0.00
id.jobsdb.com                                4372                       2.12
and so on ......

mean while in hc the report form is like this:

user |  received |  cache  | transmitted |  total   |  traffic
---------------------------------------------------

and that is the main question of me, is it possible to make the report like squidmon
i hope my explanation this time can make you understand Улыбка

Сообщить модератору   Записан

IMPOSSIBLE IS NOTHING
mirny
Пользователь
**

Репутация: +11/-1
Offline Offline

Сообщений: 84


« Ответ #4 : 24 октября 2012, 00:23:24 »

Gathering stats by hosts?
Would be fun to have something similar here.
Although I can't see no direct methods in the API to facilitate such a task, so the aswer is: it's probably possible but prepare for some tedious work counting bytes of http responses manually.
Сообщить модератору   Записан
kyushadow
Новичок
*

Репутация: +0/-0
Offline Offline

Сообщений: 29



« Ответ #5 : 24 октября 2012, 10:16:18 »

yes you were right mirny it will make tedious work counting but we don't need all of it
just take 10-30 url that often visited, my goal is by knowing 10-30 url that often visited
i can make rule on HC to maximum cache effect Подмигивающий

i found ext in this forum named "IgnoreOnceVisitedSites" it seem to be similar with squidmon
but need to be edited, and i can't edited because i don't know about lua language, hopefully
someone can make ext like that Улыбка
« Последнее редактирование: 24 октября 2012, 10:44:21 от kyushadow » Сообщить модератору   Записан

IMPOSSIBLE IS NOTHING
mirny
Пользователь
**

Репутация: +11/-1
Offline Offline

Сообщений: 84


« Ответ #6 : 24 октября 2012, 20:29:04 »

>i can't edited because i don't know about lua
What a lazy ass. You can — Lua is simple. All you need to know to start with Lua fits in one page.
>someone can make ext like that
Someone you're talking about probably has better things to do besides fulfilling your wishes. So stop bullshitting us, you have all the directions you need to make it on your own.
Сообщить модератору   Записан
kyushadow
Новичок
*

Репутация: +0/-0
Offline Offline

Сообщений: 29



« Ответ #7 : 25 октября 2012, 13:28:00 »

mirny,
 Благодарю Отлично! thanks you so much for giving me a clue to start study lua  Веселый Подмигивающий
Сообщить модератору   Записан

IMPOSSIBLE IS NOTHING
Страниц: [1]   Вверх
  Отправить эту тему    Печать  

 
Перейти в: