Hi all,
I wonder if anyone can give me hints in completing my assignment.
In my assignment i need to accomplish the following:
1. I want to configure/modify squid such that when there is a cache =
miss, the squid server should reply to the client that we are trying to =
get the content for the user now. The squid server will then try to get =
the content for the user in background so that next time (after some =
minute i suppose), the content should be found in the cache.
2. If the user desperately need to get the cache-missed content =
immediately, he/she can 'clt refresh' in the broswer and request the =
most updated content from the cache. The squid will then check the http =
request header 'if-modified-since' header and if it request the most =
update, the cache will by-pass the scenario 1 mentioned above and =
retrieve the content for client immediately. Even better is when i can =
show the status of the retrieve if possible while the user is waiting =
for the content.. (eg. such as telling the client that we have already =
retrieved 50% of the content.)
I have read some of the source code of squid now.. i am thinking of =
modifiying the forward.c module in squid 2.3. As it seems that squid 2.3 =
seems to be simplier to modify. And i have touched some code in =
client_side.c too.. yet, it seems not working very well at the moment, =
are there any module that i should have changed in order to finish my =
assignment?=20
I want to know the internal architecture used in squid. It is quite =
trouble to trace the function call in squid to see how squid works in =
the code level.
Thanks for any input that maybe suggested by you guys/gals.=20
Best regards,
Louis Lau
Received on Wed Feb 05 2003 - 20:07:09 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:15 MST