In message <[email protected]>, Artur Bergman 
writes:

>> I have skimmed the code base a to determine the API to use to insert  
>> data into
>> the cache but could not find it. 

There is no such API.

>Could you use a local http server and just pull from it?

That is a much better idea for a large number of reasons, in particular
testing & development:

Write a process which receives the data via M/C, when an object is
complete, it sends a HTTP request to Varnish which causes Varnish
fetch the object by treating the process as a backend.

I can all but guarantee you that this is the fastest and most
efficient way to make it work.

Poul-Henning

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-dev mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-dev

Reply via email to