I agree.

The query param is more of a hack "if you don't control the serving 
template." ;)

On 10/31/11 6:19 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote:
>   >>you can add
> something like '?cachebuster=' + new Date().getTime() to your request URL.
>
> Right, but I prefer the first method.
> First because my Ajax function is getting the url in a parameter, sometimes 
> with ?values in it, sometime with none, so sometimes ?cachebuster=should be 
> added, sometimes&cachebuster, a bit cumbersome.
> Secondly, the header method is more clear about the reason it is used.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348397
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to