Hi,

> >> I see your problem. However, you should not cache PDF files in
> >> memory anyway, but store them somewhere as PDF files and link to
> >> them. Reading a 100 MB PDF through PHP is overhead in itself, so
> >> you would not want to use Cache here anyway.
> >
> > That's just your opinion on this, and perhaps there's other content
> > for which this does make sense.
>
> I don't think so. It's commen sense in the PHP world to store such
> ammounts of pseudo-static data on disc and let the webserver do what
> he does best: Serve content. Even starting PHP in this case does not
> make sense, since it slows down the whole process significantly.

In most cases I agree. But what if you need strict permission checking 
(e.g. paid content or privacy reasons)? How should the webserver know 
about the user and his permissions?

Have a nice day

Thomas
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to