RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

ISP caching to reduce bandwidth - wget and meta workaround

It is a common practice of ISP's to cache any possible file from downloading it again. As an overall result this will save ISP's lots of bandwidth although you paid for your internet download not for ISP to client download.

In many situation this may cause a problem whether you are web developer or system admin. When downloading a files from a new website you are developing you always get old versions of files. This also applies if you are using unix tool wget. To get around this problem one needs to include an option --no-cache to wget command . This way wget will send an appropriate directive, in this case Pragma: no-cache to a remote server to retrieve a new version of requested files.

example:

wget --no-cache http://www.<remote server>/remote-files*


If you are not using wget and you are web developer you may consider to temporarily add a meta tag to your pages with Pragma: no-cache directive to avoid ISP caching problem.

<meta http-equiv="pragma" content="nocache">

 

Share this linux post:

Submit ISP caching to reduce bandwidth - wget and meta workaround in Delicious Submit ISP caching to reduce bandwidth - wget and meta workaround in Digg Submit ISP caching to reduce bandwidth - wget and meta workaround in FaceBook Submit ISP caching to reduce bandwidth - wget and meta workaround in Google Bookmarks Submit ISP caching to reduce bandwidth - wget and meta workaround in Stumbleupon Submit ISP caching to reduce bandwidth - wget and meta workaround in Technorati Submit ISP caching to reduce bandwidth - wget and meta workaround in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download