[flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-22 Thread valdhor
I tried your code on my machine using Flash Player WIN 10,0,45,2 Debug. 
Compiled using Flex SDK 3.5.

I do not see the problem you describe.

Perhaps you are using an older version of the SDK?

--- In flexcoders@yahoogroups.com, vijay chaudhary vijayk.chaudh...@... wrote:

 Following code when run with flash 9.0.24 shows ADG grid lines properly.
 Scroll to the very end horizontally.
 Same code run with 10.0.0 and up makes the grid lines disappear towards the
 end. Scroll to the very end horizontally.
 
 Is this a bug with newer flash version(s). If so how could this be fixed.
 
 
 
 
 
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application width=100% height=100%
 xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
 creationComplete=init()
 mx:Canvas width=100% height=100%
 mx:Script
 ![CDATA[
 import mx.controls.advancedDataGridClasses.AdvancedDataGridColumnGroup;
 import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
 private function init() : void {
 var colsReportGrid:Array = reportGrid.groupedColumns;
 var arr1:Array = [Test1, Test2, Test3];
 var arr2:Array = [Sample1, Sample2, Sample3];
 for each (var test:String in arr1) {
 var colTest:AdvancedDataGridColumnGroup = new
 AdvancedDataGridColumnGroup(test);
 for each(var sample:String in arr2) {
 var colSample:AdvancedDataGridColumnGroup = new
 AdvancedDataGridColumnGroup(sample);
 colSample.children = getDataColumns();
 colTest.children.push(colSample);
 }
 colsReportGrid.push(colTest);
 }
 reportGrid.groupedColumns = colsReportGrid;
 
 }
 private function getDataColumns() : Array {
 
 var colMed:AdvancedDataGridColumn = new AdvancedDataGridColumn(Medium);
 
 var colClientMed:AdvancedDataGridColumn = new AdvancedDataGridColumn(Client
 Medium);
 
 var colHigh:AdvancedDataGridColumn = new AdvancedDataGridColumn(High);
 
 var colClientHigh:AdvancedDataGridColumn = new
 AdvancedDataGridColumn(Client High);
 
 var colLow:AdvancedDataGridColumn = new AdvancedDataGridColumn(Low);
 
 var colClientLow:AdvancedDataGridColumn = new AdvancedDataGridColumn(Client
 Low);
 
 return [colMed, colHigh, colLow, colClientMed, colClientHigh,
 colClientLow];
 }
 
 ]]
 /mx:Script
 mx:AdvancedDataGrid id=reportGrid width=100% height=100%
 verticalScrollPolicy=auto horizontalScrollPolicy=auto
 mx:groupedColumns
 mx:AdvancedDataGridColumn headerText=Column 1 /
 mx:AdvancedDataGridColumn headerText=Column 2 /
 mx:AdvancedDataGridColumn headerText=Column 3/
 /mx:groupedColumns
 /mx:AdvancedDataGrid
 /mx:Canvas
 /mx:Application
 
 
 





[flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-21 Thread handitan
Bump this thread up to see if other people has any opinion on this.

Thx for reading!

--- In flexcoders@yahoogroups.com, handitan handi@... wrote:

 Thx Tracy!
 
 I have a diff question relating to this caching issue.
 My app is composed with a main-swf, a library-swf, and several module-swfs.
 
 To my understanding, this incrementing-build-version solution only applies to 
 the main-swf.
 So that means the library-swf and module-swfs that I updated would be loaded 
 from the browser-cache instead of from the server.
 Is my understanding correct?
 
 Thx! 
 
 
 --- In flexcoders@yahoogroups.com, Tracy Spratt tracy@ wrote:
 
  Yes.  Manually incrementing the version at each build will be more work for
  you, but will be a better experience for your users.
  
   
  
  Tracy Spratt,
  
  Lariat Services, development services available
  
_  
  
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
  Behalf Of handitan
  Sent: Monday, April 19, 2010 8:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: How to clear cache for all major browsers (IE,
  Mozilla, Safari and Chrome)
  
   
  

  
  Hi Cato or anyone,
  
  Where do you put that change?
  Is it on this part of index.template.html?
  
  else if (hasRequestedVersion) {
  // if we've detected an acceptable version
  // embed the Flash Content SWF when all tests are passed
  AC_FL_RunContent(
  src, ${swf}?version=1.0,
  width, ${width},
  height, ${height},
  
  Thanks for the help!
  
  --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
  Cato Paus cato1@ wrote:
  
   Or just do this 
   
   src, ${swf}?version=1.0,
   
   and increment it each time you crate a new build, I have filed a request
  to adobe about this issue
   https://bugs. https://bugs.adobe.com/jira/browse/FB-16764
  adobe.com/jira/browse/FB-16764 
   go and vote for it :)
   
   
   
   
   --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
  Tracy Spratt tspratt@ wrote:
   
The only reliable, cross platform/browser solution I have seen is to
  append
a unique string to the swf url. Modify the index.template like this:

AC_FL_RunContent(

src, ${swf}?nocache=+(new
Date()).getTime(),



It does make that app slow to load every time.



Tracy Spratt,

Lariat Services, development services available

_ 

From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
  [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
  On
Behalf Of anuj181
Sent: Tuesday, March 17, 2009 7:32 PM
To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
Subject: [flexcoders] How to clear cache for all major browsers (IE,
Mozilla, Safari and Chrome)



Hi Guys
Anyone has any idea which is the best way to clear the cache for my web
application (which is made in Flex and PHP), For some reason it keeps on
pulling old entries from cache and is confusing user and me with the
inconsistent results, I guess that it is pulling values from the cache
  as
everything works fine when I manually clear the cache.I did little
  research
and tried following tags in the index.template.html but somehow it is
  not
working efficiently , Whats the best way to clear the cache for all the
major browsers (IE, Mozilla, Safari and Chrome) for my web application?
Anyone has any idea?
Thanks in advance for your help,

head
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
meta http-equiv=Pragma content=no-cache /
meta http-equiv=Expires content=-1 /
/head
   
  
 





Re: [flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-21 Thread Wally Kolcz

Firefox = Tools  Clear Recent History  Today

On 4/21/2010 11:04 AM, handitan wrote:


Bump this thread up to see if other people has any opinion on this.

Thx for reading!

--- In flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com, handitan handi@... wrote:


 Thx Tracy!

 I have a diff question relating to this caching issue.
 My app is composed with a main-swf, a library-swf, and several 
module-swfs.


 To my understanding, this incrementing-build-version solution only 
applies to the main-swf.
 So that means the library-swf and module-swfs that I updated would 
be loaded from the browser-cache instead of from the server.

 Is my understanding correct?

 Thx!


 --- In flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com, Tracy Spratt tracy@ wrote:

 
  Yes. Manually incrementing the version at each build will be more 
work for

  you, but will be a better experience for your users.
 
 
 
  Tracy Spratt,
 
  Lariat Services, development services available
 
  _
 
  From: flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com] On

  Behalf Of handitan
  Sent: Monday, April 19, 2010 8:17 PM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
  Subject: [flexcoders] Re: How to clear cache for all major 
browsers (IE,

  Mozilla, Safari and Chrome)
 
 
 
 
 
  Hi Cato or anyone,
 
  Where do you put that change?
  Is it on this part of index.template.html?
 
  else if (hasRequestedVersion) {
  // if we've detected an acceptable version
  // embed the Flash Content SWF when all tests are passed
  AC_FL_RunContent(
  src, ${swf}?version=1.0,
  width, ${width},
  height, ${height},
 
  Thanks for the help!
 
  --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com 
ups.com,

  Cato Paus cato1@ wrote:
  
   Or just do this
  
   src, ${swf}?version=1.0,
  
   and increment it each time you crate a new build, I have filed a 
request

  to adobe about this issue
   https://bugs. https://bugs.adobe.com/jira/browse/FB-16764 
https://bugs.adobe.com/jira/browse/FB-16764

  adobe.com/jira/browse/FB-16764
   go and vote for it :)
  
  
  
  
   --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com 
ups.com,

  Tracy Spratt tspratt@ wrote:
   
The only reliable, cross platform/browser solution I have seen 
is to

  append
a unique string to the swf url. Modify the index.template like 
this:

   
AC_FL_RunContent(
   
src, ${swf}?nocache=+(new
Date()).getTime(),
   
   
   
It does make that app slow to load every time.
   
   
   
Tracy Spratt,
   
Lariat Services, development services available
   
_
   
From: flexcod...@yahoogro 
mailto:flexcoders%40yahoogroups.com ups.com
  [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com 
ups.com]

  On
Behalf Of anuj181
Sent: Tuesday, March 17, 2009 7:32 PM
To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com 
ups.com
Subject: [flexcoders] How to clear cache for all major 
browsers (IE,

Mozilla, Safari and Chrome)
   
   
   
Hi Guys
Anyone has any idea which is the best way to clear the cache 
for my web
application (which is made in Flex and PHP), For some reason 
it keeps on
pulling old entries from cache and is confusing user and me 
with the
inconsistent results, I guess that it is pulling values from 
the cache

  as
everything works fine when I manually clear the cache.I did little
  research
and tried following tags in the index.template.html but 
somehow it is

  not
working efficiently , Whats the best way to clear the cache 
for all the
major browsers (IE, Mozilla, Safari and Chrome) for my web 
application?

Anyone has any idea?
Thanks in advance for your help,
   
head
meta http-equiv=Content-Type content=text/html; /
meta http-equiv=Pragma content=no-cache /
meta http-equiv=Expires content=-1 /
/head
   
  
 







[flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-21 Thread handitan
You're not reading the qs correctly.

I am reposting my qs here:
I have a diff question relating to this caching issue.
My app is composed with a main-swf, a library-swf (RSL), and several 
module-swfs.

To my understanding, this incrementing-build-version solution only 
applies to the main-swf.
So that means the library-swf and module-swfs that I updated would 
be loaded from the browser-cache instead of from the server.
Is my understanding correct?

Thx!

--- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote:

 Firefox = Tools  Clear Recent History  Today
 
 On 4/21/2010 11:04 AM, handitan wrote:
 
  Bump this thread up to see if other people has any opinion on this.
 
  Thx for reading!
 
  --- In flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com, handitan handi.tan@ wrote:
  
   Thx Tracy!
  
   I have a diff question relating to this caching issue.
   My app is composed with a main-swf, a library-swf, and several 
  module-swfs.
  
   To my understanding, this incrementing-build-version solution only 
  applies to the main-swf.
   So that means the library-swf and module-swfs that I updated would 
  be loaded from the browser-cache instead of from the server.
   Is my understanding correct?
  
   Thx!
  
  
   --- In flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com, Tracy Spratt tracy@ wrote:
   
Yes. Manually incrementing the version at each build will be more 
  work for
you, but will be a better experience for your users.
   
   
   
Tracy Spratt,
   
Lariat Services, development services available
   
_
   
From: flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com] On
Behalf Of handitan
Sent: Monday, April 19, 2010 8:17 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
Subject: [flexcoders] Re: How to clear cache for all major 
  browsers (IE,
Mozilla, Safari and Chrome)
   
   
   
   
   
Hi Cato or anyone,
   
Where do you put that change?
Is it on this part of index.template.html?
   
else if (hasRequestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
src, ${swf}?version=1.0,
width, ${width},
height, ${height},
   
Thanks for the help!
   
--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com 
  ups.com,
Cato Paus cato1@ wrote:

 Or just do this

 src, ${swf}?version=1.0,

 and increment it each time you crate a new build, I have filed a 
  request
to adobe about this issue
 https://bugs. https://bugs.adobe.com/jira/browse/FB-16764 
  https://bugs.adobe.com/jira/browse/FB-16764
adobe.com/jira/browse/FB-16764
 go and vote for it :)




 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com 
  ups.com,
Tracy Spratt tspratt@ wrote:
 
  The only reliable, cross platform/browser solution I have seen 
  is to
append
  a unique string to the swf url. Modify the index.template like 
  this:
 
  AC_FL_RunContent(
 
  src, ${swf}?nocache=+(new
  Date()).getTime(),
 
 
 
  It does make that app slow to load every time.
 
 
 
  Tracy Spratt,
 
  Lariat Services, development services available
 
  _
 
  From: flexcod...@yahoogro 
  mailto:flexcoders%40yahoogroups.com ups.com
[mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com 
  ups.com]
On
  Behalf Of anuj181
  Sent: Tuesday, March 17, 2009 7:32 PM
  To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com 
  ups.com
  Subject: [flexcoders] How to clear cache for all major 
  browsers (IE,
  Mozilla, Safari and Chrome)
 
 
 
  Hi Guys
  Anyone has any idea which is the best way to clear the cache 
  for my web
  application (which is made in Flex and PHP), For some reason 
  it keeps on
  pulling old entries from cache and is confusing user and me 
  with the
  inconsistent results, I guess that it is pulling values from 
  the cache
as
  everything works fine when I manually clear the cache.I did little
research
  and tried following tags in the index.template.html but 
  somehow it is
not
  working efficiently , Whats the best way to clear the cache 
  for all the
  major browsers (IE, Mozilla, Safari and Chrome) for my web 
  application?
  Anyone has any idea?
  Thanks in advance for your help,
 
  head
  meta http-equiv=Content-Type content=text/html; /
  meta http-equiv=Pragma content=no-cache /
  meta http-equiv=Expires content=-1 /
  /head
 

   
  
 
 





Re: [flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-21 Thread vijay chaudhary
Following code when run with flash 9.0.24 shows ADG grid lines properly.
Scroll to the very end horizontally.
Same code run with 10.0.0 and up makes the grid lines disappear towards the
end. Scroll to the very end horizontally.

Is this a bug with newer flash version(s). If so how could this be fixed.






?xml version=1.0 encoding=utf-8?
mx:Application width=100% height=100%
xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=init()
mx:Canvas width=100% height=100%
mx:Script
![CDATA[
import mx.controls.advancedDataGridClasses.AdvancedDataGridColumnGroup;
import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
private function init() : void {
var colsReportGrid:Array = reportGrid.groupedColumns;
var arr1:Array = [Test1, Test2, Test3];
var arr2:Array = [Sample1, Sample2, Sample3];
for each (var test:String in arr1) {
var colTest:AdvancedDataGridColumnGroup = new
AdvancedDataGridColumnGroup(test);
for each(var sample:String in arr2) {
var colSample:AdvancedDataGridColumnGroup = new
AdvancedDataGridColumnGroup(sample);
colSample.children = getDataColumns();
colTest.children.push(colSample);
}
colsReportGrid.push(colTest);
}
reportGrid.groupedColumns = colsReportGrid;

}
private function getDataColumns() : Array {

var colMed:AdvancedDataGridColumn = new AdvancedDataGridColumn(Medium);

var colClientMed:AdvancedDataGridColumn = new AdvancedDataGridColumn(Client
Medium);

var colHigh:AdvancedDataGridColumn = new AdvancedDataGridColumn(High);

var colClientHigh:AdvancedDataGridColumn = new
AdvancedDataGridColumn(Client High);

var colLow:AdvancedDataGridColumn = new AdvancedDataGridColumn(Low);

var colClientLow:AdvancedDataGridColumn = new AdvancedDataGridColumn(Client
Low);

return [colMed, colHigh, colLow, colClientMed, colClientHigh,
colClientLow];
}

]]
/mx:Script
mx:AdvancedDataGrid id=reportGrid width=100% height=100%
verticalScrollPolicy=auto horizontalScrollPolicy=auto
mx:groupedColumns
mx:AdvancedDataGridColumn headerText=Column 1 /
mx:AdvancedDataGridColumn headerText=Column 2 /
mx:AdvancedDataGridColumn headerText=Column 3/
/mx:groupedColumns
/mx:AdvancedDataGrid
/mx:Canvas
/mx:Application





RE: [flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-20 Thread Tracy Spratt
Yes.  Manually incrementing the version at each build will be more work for
you, but will be a better experience for your users.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of handitan
Sent: Monday, April 19, 2010 8:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How to clear cache for all major browsers (IE,
Mozilla, Safari and Chrome)

 

  

Hi Cato or anyone,

Where do you put that change?
Is it on this part of index.template.html?

else if (hasRequestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
src, ${swf}?version=1.0,
width, ${width},
height, ${height},

Thanks for the help!

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Cato Paus ca...@... wrote:

 Or just do this 
 
 src, ${swf}?version=1.0,
 
 and increment it each time you crate a new build, I have filed a request
to adobe about this issue
 https://bugs. https://bugs.adobe.com/jira/browse/FB-16764
adobe.com/jira/browse/FB-16764 
 go and vote for it :)
 
 
 
 
 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Tracy Spratt tspratt@ wrote:
 
  The only reliable, cross platform/browser solution I have seen is to
append
  a unique string to the swf url. Modify the index.template like this:
  
  AC_FL_RunContent(
  
  src, ${swf}?nocache=+(new
  Date()).getTime(),
  
  
  
  It does make that app slow to load every time.
  
  
  
  Tracy Spratt,
  
  Lariat Services, development services available
  
  _ 
  
  From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
[mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
On
  Behalf Of anuj181
  Sent: Tuesday, March 17, 2009 7:32 PM
  To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
  Subject: [flexcoders] How to clear cache for all major browsers (IE,
  Mozilla, Safari and Chrome)
  
  
  
  Hi Guys
  Anyone has any idea which is the best way to clear the cache for my web
  application (which is made in Flex and PHP), For some reason it keeps on
  pulling old entries from cache and is confusing user and me with the
  inconsistent results, I guess that it is pulling values from the cache
as
  everything works fine when I manually clear the cache.I did little
research
  and tried following tags in the index.template.html but somehow it is
not
  working efficiently , Whats the best way to clear the cache for all the
  major browsers (IE, Mozilla, Safari and Chrome) for my web application?
  Anyone has any idea?
  Thanks in advance for your help,
  
  head
  meta http-equiv=Content-Type content=text/html; charset=utf-8 /
  meta http-equiv=Pragma content=no-cache /
  meta http-equiv=Expires content=-1 /
  /head
 






[flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-20 Thread handitan
Thx Tracy!

I have a diff question relating to this caching issue.
My app is composed with a main-swf, a library-swf, and several module-swfs.

To my understanding, this incrementing-build-version solution only applies to 
the main-swf.
So that means the library-swf and module-swfs that I updated would be loaded 
from the browser-cache instead of from the server.
Is my understanding correct?

Thx! 


--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 Yes.  Manually incrementing the version at each build will be more work for
 you, but will be a better experience for your users.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of handitan
 Sent: Monday, April 19, 2010 8:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: How to clear cache for all major browsers (IE,
 Mozilla, Safari and Chrome)
 
  
 
   
 
 Hi Cato or anyone,
 
 Where do you put that change?
 Is it on this part of index.template.html?
 
 else if (hasRequestedVersion) {
 // if we've detected an acceptable version
 // embed the Flash Content SWF when all tests are passed
 AC_FL_RunContent(
 src, ${swf}?version=1.0,
 width, ${width},
 height, ${height},
 
 Thanks for the help!
 
 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 Cato Paus cato1@ wrote:
 
  Or just do this 
  
  src, ${swf}?version=1.0,
  
  and increment it each time you crate a new build, I have filed a request
 to adobe about this issue
  https://bugs. https://bugs.adobe.com/jira/browse/FB-16764
 adobe.com/jira/browse/FB-16764 
  go and vote for it :)
  
  
  
  
  --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 Tracy Spratt tspratt@ wrote:
  
   The only reliable, cross platform/browser solution I have seen is to
 append
   a unique string to the swf url. Modify the index.template like this:
   
   AC_FL_RunContent(
   
   src, ${swf}?nocache=+(new
   Date()).getTime(),
   
   
   
   It does make that app slow to load every time.
   
   
   
   Tracy Spratt,
   
   Lariat Services, development services available
   
   _ 
   
   From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
 [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
 On
   Behalf Of anuj181
   Sent: Tuesday, March 17, 2009 7:32 PM
   To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
   Subject: [flexcoders] How to clear cache for all major browsers (IE,
   Mozilla, Safari and Chrome)
   
   
   
   Hi Guys
   Anyone has any idea which is the best way to clear the cache for my web
   application (which is made in Flex and PHP), For some reason it keeps on
   pulling old entries from cache and is confusing user and me with the
   inconsistent results, I guess that it is pulling values from the cache
 as
   everything works fine when I manually clear the cache.I did little
 research
   and tried following tags in the index.template.html but somehow it is
 not
   working efficiently , Whats the best way to clear the cache for all the
   major browsers (IE, Mozilla, Safari and Chrome) for my web application?
   Anyone has any idea?
   Thanks in advance for your help,
   
   head
   meta http-equiv=Content-Type content=text/html; charset=utf-8 /
   meta http-equiv=Pragma content=no-cache /
   meta http-equiv=Expires content=-1 /
   /head
  
 





[flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2010-04-19 Thread handitan
Hi Cato or anyone,


Where do you put that change?
Is it on this part of index.template.html?

else if (hasRequestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
src, ${swf}?version=1.0,
width, ${width},
height, ${height},

Thanks for the help!

--- In flexcoders@yahoogroups.com, Cato Paus ca...@... wrote:

 Or just do this 
 
 src, ${swf}?version=1.0,
 
 and increment it each time you crate a new build, I have filed a request to 
 adobe about this issue
 https://bugs.adobe.com/jira/browse/FB-16764 
 go and vote for it :)
 
 
 
 
 --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote:
 
  The only reliable, cross platform/browser solution I have seen is to append
  a unique string to the swf url.  Modify the index.template like this:
  
  AC_FL_RunContent(
  
  src, ${swf}?nocache=+(new
  Date()).getTime(),
  
   
  
  It does make that app slow to load every time.
  
   
  
  Tracy Spratt,
  
  Lariat Services, development services available
  
_  
  
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
  Behalf Of anuj181
  Sent: Tuesday, March 17, 2009 7:32 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] How to clear cache for all major browsers (IE,
  Mozilla, Safari and Chrome)
  
   
  
  Hi Guys
  Anyone has any idea which is the best way to clear the cache for my web
  application (which is made in Flex and PHP), For some reason it keeps on
  pulling old entries from cache and is confusing user and me with the
  inconsistent results, I guess that it is pulling values from the cache as
  everything works fine when I manually clear the cache.I did little research
  and tried following tags in the index.template.html but somehow it is not
  working efficiently , Whats the best way to clear the cache for all the
  major browsers (IE, Mozilla, Safari and Chrome) for my web application?
  Anyone has any idea?
  Thanks in advance for your help,
  
  head
  meta http-equiv=Content-Type content=text/html; charset=utf-8 /
  meta http-equiv=Pragma content=no-cache /
  meta http-equiv=Expires content=-1 /
  /head
 





[flexcoders] Re: How to clear cache for all major browsers (IE, Mozilla, Safari and Chrome)

2009-03-18 Thread Cato Paus
Or just do this 

src, ${swf}?version=1.0,

and increment it each time you crate a new build, I have filed a request to 
adobe about this issue
https://bugs.adobe.com/jira/browse/FB-16764 
go and vote for it :)




--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote:

 The only reliable, cross platform/browser solution I have seen is to append
 a unique string to the swf url.  Modify the index.template like this:
 
 AC_FL_RunContent(
 
 src, ${swf}?nocache=+(new
 Date()).getTime(),
 
  
 
 It does make that app slow to load every time.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of anuj181
 Sent: Tuesday, March 17, 2009 7:32 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] How to clear cache for all major browsers (IE,
 Mozilla, Safari and Chrome)
 
  
 
 Hi Guys
 Anyone has any idea which is the best way to clear the cache for my web
 application (which is made in Flex and PHP), For some reason it keeps on
 pulling old entries from cache and is confusing user and me with the
 inconsistent results, I guess that it is pulling values from the cache as
 everything works fine when I manually clear the cache.I did little research
 and tried following tags in the index.template.html but somehow it is not
 working efficiently , Whats the best way to clear the cache for all the
 major browsers (IE, Mozilla, Safari and Chrome) for my web application?
 Anyone has any idea?
 Thanks in advance for your help,
 
 head
 meta http-equiv=Content-Type content=text/html; charset=utf-8 /
 meta http-equiv=Pragma content=no-cache /
 meta http-equiv=Expires content=-1 /
 /head