The Un-Official Proxomitron Forum
Forum button images Local storage (prxbx.com 20100117) - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Website Customization (/forumdisplay.php?fid=9)
+--- Thread: Forum button images Local storage (prxbx.com 20100117) (/showthread.php?tid=1564)



Forum button images Local storage (prxbx.com 20100117) - Toppy - Jan. 07, 2010 09:59 PM

I created a little filter which took care of (most of) the forum buttons, smillies, anything image related. Thus the browser still sends requests to the forum if images got changed, but proxomitron now takes the work and sends back a locally cached image instead of send the requests to the forum server.

Code:
[Blocklists]
List.Prxbx = "..\Prxbx\Prxbx.txt"

[HTTP headers]
In = FALSE
Out = TRUE
Key = "! : Redir: Prxbx Proxomitron Forum images cache TEST (out)"
URL = "prxbx.com/forums/(images/|jscripts/editor_themes/default/images/)\1(icons/|attachtypes/|ONi/(english/|toplinks/|)|)\2(*.(gif|jpg))\3&$LST(Prxbx)$RDIR(http://local.ptron/Prxbx/forums/\1\2\3)"

... and the local image cache (to extract in main proxo folder, images are in subdirs)



BTW: NYFC = Not Yet Fully Complete

EDIT: 2010-01-17 : Added 7 more images.