Monday, September 29, 2008

Re: page refresh?

Yahoo (guidelines on caching and optimisations) suggests that you
never replace a picture under the same name.
So when updating your design, for example, you would link your logo to
"logo-1.1.gif" or something similar.
They particularly suggest this "versioning" type of setup for logos
and other pictures that are likely to be updated.

/Martin


On Sep 29, 9:37 am, rocket <justin...@gmail.com> wrote:
> sup guys
> i have an upload script, that lets you upload your profile pic.
>
> but when you change the picture, the old picture is still stuck in the
> cache, so to see the new pic the user needs to push F5... I can't
> figure out how to "refresh" the page automatically.
>
> any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: