lkml.org 
[lkml]   [2006]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: creating live virtual files by concatenation
    Jan Engelhardt wrote:

    >>Now let us say I am creating sort of a virtual text file (code.js)
    >>that is a live-concatenation of these files:
    >># concatenate tooltip.js banner.js foo.js code.js
    >>
    >>Note I am not talking about the cat(1) utility. I am thinking of
    >>code.js be always a live concatenated version of these three, so when
    >>I modify one file, the live-version is also modified.
    >>
    >>What puprose I might have? Network-related. Say, I have an HTML file
    >>that includes these three files in its code.
    >>
    >>
    >>
    >Try FUSE.
    >
    >
    Yes that's the best solution. Email me if you have a question about how
    to accomplish this. Here at
    our school we have created a fuse filesystem that "glues" files in a
    single one.

    >
    >
    >>If I had a live-concatenated file, I could reference it in the HTML file
    >>so that the browser does not have to download three files but just one.
    >>
    >>This would surely reduce network overhead of downloading the same amount
    >>of data but within just one connection, reduce resource usage on the client
    >>and possibly (depending on implementation) reduce the cost of accessing
    >>three individual files on the server.
    >>
    >>
    >>
    >Have you ever heard of persistent connections with HTTP/1.1?
    >
    >
    >Jan Engelhardt
    >
    >

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-02-27 19:52    [W:0.025 / U:123.820 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site