On 11/17/05, Matej Knopp <[EMAIL PROTECTED]> wrote:
> Yes, but these tags only affects the html. As it's dynamically
> generated, it's all right to always fetch the new version.
>
> But with static images, there should be a header provided with the
> image, that informs the browser, when the image was last modified.
> (Last-Modified http header).
>

who is settings this header?

> First, the browser fetches only the header, and if the image in browser
> cache is not recent enough, the images is downloaded.
> But in this case, the Last-Modified header is just not there.
>

how have you figured this out?

thanks in advance,

./alex
--
.w( the_mindstorm )p.

> -Matej
>
> Alexandru Popescu wrote:
> > #: Martijn Dashorst changed the world a bit at a time by saying on
> > 11/17/2005 9:55 PM :#
> >
> >> I see on the home page 'Cache-Control no-cache'. Is this there for a
> >> special reason?
> >>
> >> <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
> >> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
> >> <META HTTP-EQUIV="Expires" CONTENT="-1">
> >>
> >> How does this affect the browser?
> >>
> >> Martijn
> >>
> >
> > afaik these headers instruct the browser to fetch the page for each hit.
> > I don't know how static content is treated, but this may be the cause.
> >
> > ./alex
> > --
> > .w( the_mindstorm )p.
> >
> >>
> >> On 11/17/05, Dorel Vaida <[EMAIL PROTECTED]> wrote:
> >>
> >>> Dorel Vaida wrote:
> >>>
> >>> > Matej Knopp wrote:
> >>> >
> >>> >> Hi. Wicket is hardly responsible for the headers, that come with your
> >>> >> (static) images.
> >>> >
> >>> I thought a little and maybe, but just maybe, the images are not cached
> >>> because of the way wicket forms the urls and everything ...
> >>>
> >>> >> I'm sorry, I can't help you here, I've very little experience
> >>> >> configuring apache, nor the connector - mod_jk2.
> >>> >
> >>> >
> >>> > I understood that, thanks alot, I'll investigate, still, you've
> >>> > mentioned to try to "Adding LastModified header to images should help.
> >>> > " and I was asking where to do that, is that a server config ?
> >>> >
> >>> >>
> >>> >> Good luck.
> >>> >>
> >>> >> -Matej
> >>> >>
> >>> >> Dorel Vaida wrote:
> >>> >>
> >>> >>> Matej Knopp wrote:
> >>> >>>
> >>> >>>> Hi.
> >>> >>>>
> >>> >>>> What does wicket have with the image? It isn't served by wicket, is
> >>> >>>> it?
> >>> >>>
> >>> >>>
> >>> >>>
> >>> >>>
> >>> >>> Agree, unfortunately the only thing that changed from the other web
> >>> >>> applications deliverred by the same server and this one is ... the
> >>> >>> web framework used. It is wicket, instead of struts or anything
> >>> >>> else. So I thought I should ask to this list, maybe someone has an
> >>> >>> ideea.
> >>> >>>
> >>> >>>> Check your app server settings, it just seems that it's not sending
> >>> >>>> right http headers with the image.
> >>> >>>>
> >>> >>>> Hmm.. Now I see that the server is Apache with mod_jk2.
> >>> >>>> So check apache configuration.
> >>> >>>> Adding LastModified header to images should help.
> >>> >>>
> >>> >>>
> >>> >>>
> >>> >>>
> >>> >>> Where to do that ?
> >>> >>>
> >>> >>>>
> >>> >>>>
> >>> >>>> -Matej
> >>> >>>>
> >>> >>>>
> >>> >>>> Dorel Vaida wrote:
> >>> >>>>
> >>> >>>>> Hi all, I've deployed my first application with wicket. However, I
> >>> >>>>> have a BIG annoying performance problem with it, and it is visible
> >>> >>>>> just in production. We have a pretty big picture on the top of the
> >>> >>>>> page, a 200k gif, which is LOADED again and again on every page,
> >>> >>>>> it's not cached. On every other sites we've developed, even the
> >>> >>>>> big pictures after they were  loaded and cached first, they work
> >>> >>>>> fine, they are not downloaded every time.
> >>> >>>>>
> >>> >>>>> In this case, it seems that all the pictures are downloaded every
> >>> >>>>> time.
> >>> >>>>>
> >>> >>>>> The site in case is: http://www.ceramicamaria.ro/ just in case you
> >>> >>>>> want to check it live. As you will see, the experience is lousy as
> >>> >>>>> you need to wait tons of time for each page loading
> >>> >>>>>
> >>> >>>>> Anybody has a clue why this is happening ? Any suggestions are
> >>> >>>>> greatly appreciated, I assure you.
> >>> >>>>>
> >>> >>>>> Thanks.
> >>> >>>>>
> >>> >>>>>
> >>> >>>>> -------------------------------------------------------
> >>> >>>>> This SF.Net email is sponsored by the JBoss Inc.  Get Certified
> >>> Today
> >>> >>>>> Register for a JBoss Training Course.  Free Certification Exam
> >>> >>>>> for All Training Attendees Through End of 2005. For more info
> >>> visit:
> >>> >>>>> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> >>> >>>>> _______________________________________________
> >>> >>>>> Wicket-user mailing list
> >>> >>>>> [email protected]
> >>> >>>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>> >>>>>
> >>> >>>>
> >>> >>>>
> >>> >>>>
> >>> >>>> -------------------------------------------------------
> >>> >>>> This SF.Net email is sponsored by the JBoss Inc.  Get Certified
> >>> Today
> >>> >>>> Register for a JBoss Training Course.  Free Certification Exam
> >>> >>>> for All Training Attendees Through End of 2005. For more info
> >>> visit:
> >>> >>>> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> >>> >>>> _______________________________________________
> >>> >>>> Wicket-user mailing list
> >>> >>>> [email protected]
> >>> >>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>> >>>>
> >>> >>>> __________ NOD32 1.1100 (20050518) Information __________
> >>> >>>>
> >>> >>>> This message was checked by NOD32 antivirus system.
> >>> >>>> http://www.eset.com
> >>> >>>>
> >>> >>>>
> >>> >>>>
> >>> >>>
> >>> >>>
> >>> >>>
> >>> >>> -------------------------------------------------------
> >>> >>> This SF.Net email is sponsored by the JBoss Inc.  Get Certified
> >>> Today
> >>> >>> Register for a JBoss Training Course.  Free Certification Exam
> >>> >>> for All Training Attendees Through End of 2005. For more info visit:
> >>> >>> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> >>> >>> _______________________________________________
> >>> >>> Wicket-user mailing list
> >>> >>> [email protected]
> >>> >>> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>> >>>
> >>> >>
> >>> >>
> >>> >>
> >>> >> -------------------------------------------------------
> >>> >> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> >>> >> Register for a JBoss Training Course.  Free Certification Exam
> >>> >> for All Training Attendees Through End of 2005. For more info visit:
> >>> >> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> >>> >> _______________________________________________
> >>> >> Wicket-user mailing list
> >>> >> [email protected]
> >>> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>> >>
> >>> >> __________ NOD32 1.1100 (20050518) Information __________
> >>> >>
> >>> >> This message was checked by NOD32 antivirus system.
> >>> >> http://www.eset.com
> >>> >>
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>> >
> >>> > -------------------------------------------------------
> >>> > This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> >>> > Register for a JBoss Training Course.  Free Certification Exam
> >>> > for All Training Attendees Through End of 2005. For more info visit:
> >>> > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> >>> > _______________________________________________
> >>> > Wicket-user mailing list
> >>> > [email protected]
> >>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>> >
> >>>
> >>>
> >>>
> >>> -------------------------------------------------------
> >>> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> >>> Register for a JBoss Training Course.  Free Certification Exam
> >>> for All Training Attendees Through End of 2005. For more info visit:
> >>> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> >>> _______________________________________________
> >>> Wicket-user mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>>
> >>
> >>
> >> --
> >> Living a wicket life...
> >>
> >> Martijn Dashorst - http://www.jroller.com/page/dashorst
> >>
> >> Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> >> Register for a JBoss Training Course.  Free Certification Exam
> >> for All Training Attendees Through End of 2005. For more info visit:
> >> http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
> >> _______________________________________________
> >> Wicket-user mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >>
> >>
> >>
> >> !DSPAM:437ce05d649351091387246!
> >>
> >>
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> > Register for a JBoss Training Course.  Free Certification Exam
> > for All Training Attendees Through End of 2005. For more info visit:
> > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> > __________ NOD32 1.1290 (20051117) Information __________
> >
> > This message was checked by NOD32 antivirus system.
> > http://www.eset.com
> >
> >
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> Register for a JBoss Training Course.  Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to