-
16 Nov 2012 6:51 PM #1
How to avoid "_dc" being appended at the end of URL when preview
How to avoid "_dc" being appended at the end of URL when preview
I have no any kinds of cache busting enabled. But still have "_dc=xxxx" appended to URL when I clicked PREVIEW making a new Safari window every time. This not happen to older build of Architect 2
-
20 Nov 2012 8:26 AM #2
Did you try the following :
1) In the project inspector, click on Application --> AppLoader
2) In Config panel, uncheck the property "disableCaching" in "Ext.Loader" section
3) Save your project
4) Preview
Hope it helps
-
20 Nov 2012 6:31 PM #3
Really thanks, Nxs.
However, it does not work for me
I could config it following your instruction but the _dc=<randomNumber> is still appended to the preview URL. Both happens to Windows and Mac version of SA.
I suspect the disableCaching only affect the script files loading, not the preview URL.
Did it work on your SA? Mine is 2.1 build 676.
-
21 Nov 2012 12:20 AM #4
I have just tried and you're right it doesn't work (same SA build than you).
I suspect a bug or maybe it's a "normal" behavior with Preview Mode...
An answer from the Sencha Team should be very appreciated.
P.S: You can set up a virtual folder with IIS or Apache (or any other..) pointing to your SA project folder.
Like this you have just to save your project and access the local url via your browser. By this way the _dc param is always removed (as long as you have uncheck the config in SA).
-
21 Nov 2012 1:07 AM #5
Thanks a lot.
Yes, I am doing what you said in order to keep the "Inspect element" windows opened for debugging.
Appending _dc to preview URL is totally meaningless, I won't change app.html under any circumstances
-
21 Nov 2012 1:39 AM #6
-
26 Nov 2012 7:30 AM #7
Hey guys sorry for the delay. I'm not sure there was ever a way to disable this on the preview url.
I'll open a ticket and have it follow the setting in project settings label enable cache busting
Screen Shot 2012-11-26 at 10.29.59 AM.pngPhil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
-
26 Nov 2012 7:33 AM #8
bug number DSGNR-2751
Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
-
14 Dec 2012 2:27 PM #9
I've added a new application settings called 'Cache bust on preview'
You can set it in the preview dialog or in the app settings.Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
-
14 Dec 2012 2:28 PM #10
This feature will be part of 2.2
Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team


Reply With Quote