Specific temp caching functionality?
Damien Golding <[email protected]> Fri, 19 Jan 2018 17:09:08 +0900
| Newsgroups | gmane.comp.web.polipo.user |
|---|---|
| Message-ID | <CABmj6q1c_11Hj2KRoP4pxd1dAS9yg8+9LF=tbAppr6OLiynL0w@mail.gmail.com> |
--===============8186475244485043510==
Content-Type: multipart/alternative; boundary="94eb2c12a59053e74b05631c98b3"
--94eb2c12a59053e74b05631c98b3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi, I am looking for a way to temporarily cache a file that is saved in a
specific location and accessed via the internet(HTTP/HTTPS).
For example:
c:/my-large-file
https://www.example.com/large-file
settings.json: {
"cache":{
"https://www.example.com/large-file": "c:/my-large-file"
}
}
The reason for this, is there are many times I use a library that requires
a large file but I have it already downloaded. The library might not have
an easy way to change to a local path and even if it did, if I had to do
the same operation for many different libraries, it would get cumbersome
quickly.
Is this possible with this library?
Regards.
Damien.
<https://www.avast.com/sig-email?utm_medium=3Demail&utm_source=3Dlink&utm_c=
ampaign=3Dsig-email&utm_content=3Dwebmail>
=E3=82=A6=E3=82=A4=E3=83=AB=E3=82=B9
=E3=83=95=E3=83=AA=E3=83=BC=EF=BD=A1 www.avast.com
<https://www.avast.com/sig-email?utm_medium=3Demail&utm_source=3Dlink&utm_c=
ampaign=3Dsig-email&utm_content=3Dwebmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
--94eb2c12a59053e74b05631c98b3
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi, I am looking for a way to temporarily cache a file tha=
t is saved in a specific location and accessed via the internet(HTTP/HTTPS)=
.<div><br></div><div>For example:</div><div>c:/my-large-file</div><div><a h=
ref=3D"https://www.example.com/large-file">https://www.example.com/large-fi=
le</a></div><div>settings.json: {</div><div>=C2=A0 "cache":{</div=
><div>=C2=A0 =C2=A0 "<a href=3D"https://www.example.com/large-file">ht=
tps://www.example.com/large-file</a>": "c:/my-large-file"</d=
iv><div>=C2=A0 }</div><div>}</div><div><br></div><div>The reason for this, =
is there are many times I use a library that requires a large file but I ha=
ve it already downloaded. The library might not have an easy way to change =
to a local path and even if it did, if I had to do the same operation for m=
any different libraries, it would get cumbersome quickly.</div><div><br></d=
iv><div>Is this possible with this library?</div><div><br></div><div>Regard=
s.</div><div>Damien.</div></div><div id=3D"DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9=
FDF2"><br> <table style=3D"border-top:1px solid #d3d4de">
<tr>
<td style=3D"width:55px;padding-top:18px"><a href=3D"https://www.avas=
t.com/sig-email?utm_medium=3Demail&utm_source=3Dlink&utm_campaign=
=3Dsig-email&utm_content=3Dwebmail" target=3D"_blank"><img src=3D"https=
://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-n=
o-repeat-v1.gif" alt=3D"" width=3D"46" height=3D"29" style=3D"width: 46px; =
height: 29px;"></a></td>
<td style=3D"width:470px;padding-top:17px;color:#41424e;font-size:13px;fo=
nt-family:Arial,Helvetica,sans-serif;line-height:18px">=E3=82=A6=E3=82=A4=
=E3=83=AB=E3=82=B9 =E3=83=95=E3=83=AA=E3=83=BC=EF=BD=A1 <a href=3D"https://=
www.avast.com/sig-email?utm_medium=3Demail&utm_source=3Dlink&utm_ca=
mpaign=3Dsig-email&utm_content=3Dwebmail" target=3D"_blank" style=3D"co=
lor:#4453ea">www.avast.com</a> </td>
</tr>
</table>
<a href=3D"#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width=3D"1" height=3D"1">=
</a></div>
--94eb2c12a59053e74b05631c98b3--
--===============8186475244485043510==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============8186475244485043510==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users
--===============8186475244485043510==--