Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari caching issue



On Mar 14, 2006, at 10:02 AM, Eric Eklund wrote:

So far the script will allow the user to login and download the html for the first page. However, when you click ‘next’ Safari loads the page from cache rather than getting the updated dynamic content.

The easiest way to prevent caching is to append the current time to the URI in a query string. So rather than linking to bloated- uri.html, you link to bloated-uri.html?timestamp=123787394. But it sounds like you're misusing URIs, which is a problem beyond caching. Why do the first and second page share the same URI if they're not the same content? What if someone wants to bookmark the second page or point a friend to it?


Peace,
Scott _______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden
References: 
 >Safari caching issue (From: "Eric Eklund" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.