No, it's caching on the server side, in order to avoid that for each request 
the whole SVG needs to be generated (which in my case takes a minute or so). 
Sorry for not being more clear.


--- In [email protected], Marty Sullivan <dark3251@...> wrote:
>
> I don't understand, you are talking about caching it client-side, correct?
> As long as you set cache-control on the SVG files you are serving, the
> user's browser will cache it no matter what tag you use to display it.
> 
> On Tue, Dec 20, 2011 at 9:55 AM, luftikus_143 <st.schwarzer@...>wrote:
> 
> > **
> >
> >
> > Hi there,
> >
> > I would like to cache the SVG files which I generate via PHP. But it seems
> > a bit difficult. When I first call the PHP file which produces the SVG, I
> > use the OBJECT element to display it on the website:
> >
> > <object id='svg_object' data='data_vis_bars_svg.php' type='image/svg+xml'
> > width='1150' height='500'></object>
> >
> > But when caching the SVG file, I can't use the OBJECT anymore, but must
> > use the EMBED instead:
> >
> > <embed id='svg_object' src='../etc/cache/data_vis_bars_svg.svg'
> > type='image/svg+xml' width='1150' height='500'></embed>
> >
> > Do you know of any intelligent workaround here? Not sure what I can do
> > about this...
> >
> > Thanks for any hints!
> >
> >  
> >
> 
> 
> [Non-text portions of this message have been removed]
>




------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to