[Dojo-interest] Problem while loading json file in Web Servers? (urgent help needed)

Dustin Machi dmachi at sitepen.com
Wed Apr 30 15:00:51 UTC 2008


In this case it looks like the that store has a preventCache option that 
will force that to happen on the I/O request, urlPreventCache, so you 
would just add urlPreventCache="true" into that declaration.

Dustin



Shabbir Hossain wrote:
> Dear Dustin,
>
> Thank you for your help. But I'm loading json data using <div dojoType="dojo.data.ItemFileWriteStore" jsId="swebStore" url="mail/mail.json"></div>.
> Can you tell me can I use  "preventCache: true" this method inside this tag?
>
> Shabbir
>
>
>
>
> -----Original Message-----
> From: dojo-interest-bounces at dojotoolkit.org [mailto:dojo-interest-bounces at dojotoolkit.org] On Behalf Of Dustin Machi
> Sent: Wednesday, April 30, 2008 4:17 PM
> To: dojo-interest at dojotoolkit.org
> Subject: Re: [Dojo-interest] Problem while loading json file in Web Servers? (urgent help needed)
>
> Sounds like it is cached to me.  Try adding preventCache: true to your 
> request.  This will append an additioanl query parameter with a date 
> stamp to the request so your browser always see it as 'new' and won't 
> pull it from cache.
>
> Dustin
>
>
> Shabbir Hossain wrote:
>   
>> Hi,
>>
>>  
>>
>> I’m facing some problem while loading json files in IE 7.0. If I 
>> change and update the json files it doesn’t change the view it loads 
>> the previous one but how it is getting the previous previous data?
>>
>> How can I solve this problem? Help needed urgent.
>>
>>  
>>
>> Thanks
>>
>> Shabbir
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> FAQ: http://dojotoolkit.org/support/faq
>> Book: http://dojotoolkit.org/docs/book
>> Forums: http://dojotoolkit.org/forum
>> Dojo-interest at dojotoolkit.org
>> http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
>>   
>>     
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at dojotoolkit.org
> http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://dojotoolkit.org/docs/book
> Forums: http://dojotoolkit.org/forum
> Dojo-interest at dojotoolkit.org
> http://turtle.dojotoolkit.org/mailman/listinfo/dojo-interest
>
>   


More information about the Dojo-interest mailing list