trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Giedymin <jason.giedy...@gmail.com>
Subject Re: Basic conf
Date Thu, 15 Apr 2010 11:32:20 GMT
It is the browser which initiates the connection for each resource.   
When that resource is outside the domain where trafficserver is  
running, it will not be cached.

For your desired functionality you could consider (and it all depends  
on your use), setting up a proxy server where all requests go through  
a single point (explicit proxy caching), rewriting plugin  which does  
src modification upon sending responses (for instance wordpress has  
such a thing), or creating a mirror and or hosting the content behind  
your domain (and ultimately trafficserver's) control.

I'm sure there are other methods however.  The best thing to do is  
trying to align resources under your domain and under your control.  
Things get easier from there to control.


-Jason

On Apr 15, 2010, at 4:10 AM, shirish <shirishreddy89@gmail.com> wrote:

> Hello,
>
> I am shirish. I am trying to get Traffic server work and it works  
> fine for caching the HTML pages. But my main HTML page is some thing  
> that links images on seperate location. How can I cache the images  
> too ?
>
> Example :
>
> My html code is some thing like
> <html><body><h1>It works!</h1>
> <p>This is the default web page for this server.</p>
> <p>The web server software is running but no content has been added,  
> yet.</p>
> <img height = 640 width = 640 src="http://incubator.apache.org/trafficserver/docs/v2/admin/images/revproxy.jpg

> "/>
> </body>
> </html>
>
> It can be seen that the Image src is from some where else. I need to  
> cache that image too. Is it possible ?
>
> My current remap.config rules are as follows
> map http://192.168.0.6:8080/ http://profile.iiita.ac.in/RIT2006047/
> reverse_map  http://profile.iiita.ac.in/RIT2006047/ http://192.168.0.6:8080/
>
> Thank you,
>
> cheers
> shirish

Mime
View raw message