Bug#385570: please provide a way to expire upstream caches

2006-09-03 Thread Alexander V. Lukyanov
lftp already has the following options:

http:cache
http:cache-control
hftp:cache
hftp:cache-control

So you can precisely control the squid cache. E.g. turn off cacheing completely:

set http:cache off

(it adds two request headers: `Pragma: no-cache' and `Cache-Control: no-cache')
or specify a cache option, e.g. allow getting old cached files:

set http:cache-control max-stale

which adds corresponding `Cache-Control' request header.
See RFC 2616 for other cache-control directives (cache-request-directive token).

-- 
   Alexander..


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#385570: please provide a way to expire upstream caches

2006-09-01 Thread martin f krafft
Package: lftp
Version: 3.5.4-1
Severity: wishlist

lftp is *sweet*. Thanks!

I run into some problems though from time to time, when my squid has
cached a file and thus prevents lftp from downloading a newer
version until squid expires the cache.

With wget, I can use --no-cache to work around this. I wish lftp
provided an option to send the required request headers. Ideally,
this would be a switch to get/mget, but it would also be nice to
just have an option to turn on so that get/mget send the header by
default.

Thanks,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages lftp depends on:
ii  libc6   2.3.999.2-12 GNU C Library: Shared libraries
ii  libgcc1 1:4.1.1-11   GCC support library
ii  libgcrypt11 1.2.2-3  LGPL Crypto library - runtime libr
ii  libgnutls13 1.4.2-1  the GNU TLS library - runtime libr
ii  libgpg-error0   1.2-1library for common error values an
ii  libncurses5 5.5-2Shared libraries for terminal hand
ii  libreadline55.1-7GNU readline and history libraries
ii  libtasn1-3  0.3.5-2  Manage ASN.1 structures (runtime)
ii  netbase 4.26 Basic TCP/IP networking system
ii  zlib1g  1:1.2.3-13   compression library - runtime

lftp recommends no packages.

-- no debconf information

-- 
 .''`. martin f. krafft [EMAIL PROTECTED]
: :'  :proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems


signature.asc
Description: Digital signature (GPG/PGP)