Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Local caching proxy server

Name: Anonymous 2009-10-27 20:59

Has anyone considered setting up a local proxy server, vm or whatever, implementation isn't too critical... to cache certain requests?  If you had a 100gb cache, that's a potentially huge speed-up.

Certain sites just would not work with the caching proxy due to needing a recent copy of the page, like 4chan.  But, perhaps you could cache certain youtube videos / porn links that you tend to look at often.  Instant loading ftw.  Or, pre-emptive caching...  load a certain page, and it will perform background requests to all links on that page in order to speed up browsing.  Pre-emptively cache a page and all immediate subpages that your household might look at daily, for example, news sites.  Could be handy for wikipedia as well, because chances are you might want to look at that article again.

Have every cached paged served up with a <div> on the top saying something like, "Cached on xx:xx:xx:xx, renew?" clicking on it would resend the request.

With the advent of huge amounts of storage space in your typical desktop (a new desktop these days could easily have 2TB), 100gb cache is not so bad.  Bandwidth is typically not an issue.  Use the LRU algorithm to detect which item to delete from the cache.

Of course, the only concern is that the increased web browsing traffic fucks up gaming.  For this... 2 separate lines, one dedicated to real-time tasks (gaming, VOIP, email, etc), and the other dedicated to background network tasks (file transfer, web browsing)

If you're not rich (like most of us), have the proxy detect when someone is gaming and disable any pre-fetching.

What do you guys think?

Name: Anonymous 2009-10-27 21:08

Holy shit, has /prog/ really come to this?

Name: Anonymous 2009-10-27 21:08

so basically, what you're saying is "what if we set firefox's history cache to 100GB".

Name: Anonymous 2009-10-27 21:16

100gb cache
( ≖‿≖)

Name: Anonymous 2009-10-27 21:19

>>3
No.
An actual proxy server such that your local entire network can benefit, not just 1 computer...
>>2
Didn't want to put it in /technology/ or whatever; I looked at the topics, saw "uggz", and decided to come here.  You'd rather argue about SICP and other stupid shit?
>>4
I appreciate your comment the most

Name: Anonymous 2009-10-27 21:26

Doesn't having a huge cache kind of defeat the purpose or am I just retarded(a very real possibility)?

Name: Anonymous 2009-10-27 21:28

Back to /shoes/, please

Name: Anonymous 2009-10-27 21:31

>>1
>>5
There are a shitload of these. Polipo, squid, privoxy, etc. There are a lot more optimizations that can be done besides caching, such as ad stripping, pipelining, etc.

Name: Anonymous 2009-10-27 21:38

>>1
I must say, not a bad idea.

I think it would benefit most from only caching non html though.  Images, sounds, videos, all the bulk of the internet.  The only things that change on news sites, blogs, etc. is text.  So if you only fetch updated text and cache the other content not only will it be wicked fast, but updated too.  When you request headers for html pages you can see the date last updated too, so in most cases you don't need to fetch any content.

Name: Anonymous 2009-10-27 21:47

>>8
Listen to this man, he speaks the truth.
As a starter consider a sqiud proxy.
To add to >>8-chan's mess: an haproxy is fine too

Name: Anonymous 2009-10-27 21:48

>>9
Then you lose the capacity for some offline browsing.  I suppose you need site specific roles; what you described with the media caching only would be good for a household of 4chan users.

Name: Anonymous 2009-10-27 21:54

Name: Anonymous 2009-10-28 1:14

>>1
Dude your browser already does this. Go to options and drag the cache size slider way over to the right. Done.

Also, you may not know this but HTTP/HTML already have a lot of functionality to let the browser determine whether a resource has changed before needing to download it (HEAD requests, expiration headers, etc). This is why you don't need some div to manually refresh pages; it happens automatically, and shift+refresh exists in case it breaks. Just let the tools you already have do their job.

And if you really want to speed up browsing, honestly the best thing you can do is install adblock. Don't fuck around with a proxy; in fact they usually make things slower because of all the useless redundant parsing they do of all your downloaded shit.

Name: Anonymous 2009-10-28 1:25

Why is it called Squid? Because it's fast and slippery?

Name: Anonymous 2009-10-28 2:23

>>13
Sensible advice? On my /prog/?

Name: Anonymous 2009-10-28 9:45

>>15
This may surprise you, but yes, I like to give sensible advice on occasion. It's just that most queries to /prog/ are so stupid (quick search in Google returns something) that they're not even worth doing anything useful.

Name: Anonymous 2010-11-28 2:06

Name: 2013-01-25 18:16

兢碉䄨⤆呲腁衙椨匸鄧薐Т⊔㔁榐⍳䄲ᠱᙣ萵጖㑈栉堨ᚐሔ针晢咉㉃恹馈酸ᄷ⤗霖襱䄒ᖒ㞀鐑冕ᜃ▓䑨㙇脔逐⎐衵睤薁䈑䍱⑇朆㙗ى䠥ህ㘂酸䝨㙤ቧ饑䖖㡸禗酶त獖ጴ鍓ᙆㄒ桧摵鈥䍧倡ᄤ祇茕╕舠䅹┵摥㜆昙荕遁䐷嘤⁦㎇䉅眹<艙塂ㅢ㤲え葩㈆瘹镒爈䖕ᘒݵ䉳頑㥓ᔃ⢀‒儳4㊄猴領ᢑ恔খ砈蚑΁䢖熁鈢ឆ⍗䙱挶䑲Θ暆ᝢ⚑ၡ疈朣䄒堃╆啡蘕ၗ€ᤘ嘦㘑ᡇ鑔ፒܥࠠ堂⌨榘ї䥁ኃ镙ᐤ⑷䔱⦂ॐ外聰䊑偂䍶蚓偀ᜳ࡙㥑䉀癅ȉ┩㐥䡳餈兇艔ၓ蔃瀖梗饤₆Ҁ畹⍩̕ٶ〠䦂ࡥ㌑憘靸硐Η閕愡協銅ㄷ梕ႇ禁祩鞑兠䘉᎙࠹茡蘗酠怡址ᙉ䤙蚘晕̤⍸䙁抒鈲᎙褓ᒁ䄠╲皇䔱呉杘茔煗䥀嘙蠠ᐅ啢⢇奇⁴态楨酦ងᢐᡗ➀᠉頇啀ؙ䒔ၦŐ 墕ऑ酨㕨ऐ杤♢脙Ń⦓慁萲䀣荘锥栱儂䅥䅒砂顂〳鉁摙ȶᝃㅶ·㙑ܒᐃ➔⠖▆㜣✴鄀⌡▙獃陔㊄偸䝹爖ࡖ㜖ƃ鉓݆杒㈈䜀陓̶㑇ވܔŘ㝁ᤘ㤵ᐲ䂄᠇坅晄呲ॸⅰ慢㍁㤢≵急敳戇ДՔ㤩⠱腨͓关㚙䐀邕奴㔣吴᎑@芘ᜒ䒇璃衈朡葆搡ࡥ茦撂ň邅q䘖儐䄄栱衱㘠霈f⑩晴畁阧树椁蔸塥➁㙙᜔倡ᝒ瑗ᦅ坃褙㠕Ș┧㌘荴榇倷钉䢐ޓ䅁癩ʀ脙⦇遱唴抅焩阕ރ䐳✡䍤襆∲冄醁杙袗朳ᠹ疔ܡ㙥砶⊙遣愹億疄ㅇᥤ桶摙肕ᡠ楤萡䌲蕄晓造᥇攕œ⥁ȵ蠗猂㌩吴ހմ℀畸牉䘕鑨晲瘳栂䥱ᐹ䉥䦕䄳坉㠁䈇㔂䅲⤓─ㅠ≑ᑅ犈琱䅉ᐡ呧д✉㌨

Don't change these.
Name: Email:
Entire Thread Thread List