Post Reply 
The best way to use $RDIR ?
Jun. 20, 2012, 01:27 AM
Post: #1
The best way to use $RDIR ?
i've lousy internet connection,
after reading the proxomitron help file, i decided to make use of the $RDIR.

I made a sub-directory on proximotron's "html" directory, say "Pre-Cache"
and place various files (mainly .js and .css but also some .jpg or *.png) from sites that i frequently visit on that subdirectory.
I also made a list file to accomodate the downloaded files, like this:
Code:
...
http://mail.yimg.com/zz/combo\?/nq/mc/15_0_2/js/im_blue_all.js\&/nq/mc/15_0_2/js/us_strings.js\&/nq/mc/15_0_2/js/msgr.js(^?)$SET(0=aef26fdf.js)
...
Then made the http filter like this:
Code:
[HTTP headers]

In = FALSE
Out = TRUE
Key = "URL: PreFetched js-css cache (out)"
Match = "$LST(preLoadList)"
Replace = "$RDIR(http://Local.ptron/Pre-Cache/\0)"

I'm not using sidki filter sets yet, i've download it for references, but theres many of sidki's filters that i haven't understand.

1. What is the "!:" http-header filter? Proxomitron help files doesn't explain about it.

2. Its seem possible to modifiy my filter above to works on "!:" would this give better performance ?

3. Some sites began to use https for their .js & .css.
How to make that https url request shown in http://local.ptron/.pinfo/urls/ ?
I might need it to ease download-manager downloading the proper files.

4. What modification necessery to allow https request also intercepted by my filter ?

Sorry for lot of questions, I trully want to know.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
The best way to use $RDIR ? - joey_sw - Jun. 20, 2012 01:27 AM
RE: The best way to use $RDIR ? - JJoe - Jun. 20, 2012, 03:17 AM

Forum Jump: