[5.4] module js - takes some time to refresh

2014-11-19 Thread Paul Stanton
Hi all, Creating my own module.js within META-INF/modules/xyz.js If I change the content, it takes some time before the browser sees the change (20-50 seconds). Is this configurable? Thanks, p. - To unsubscribe, e-mail: use

Re: [5.3] why is a stack being included when not referenced?

2014-11-19 Thread Thiago H de Paula Figueiredo
On Wed, 19 Nov 2014 18:21:52 -0200, Paul Stanton wrote: True, visiting PageA and PageB if they both had their own stacks would download shared snippets twice. The trade off between more bytes *IF* the user visits both PageA and PageB or a single resource if they just visit PageA. Exact

Re: Hints on javascript debugging

2014-11-19 Thread Chris Mylonas
No trying yet, I'm pretty sure firebug/devtools would suffice. My initial request would probably be satisfied with a simple gg search "javascript debugging accordion" and getting lucky with a video of someone showing their 1337 browser skills - i hadn't imagined remote json debugging of dom

Re: [5.3] why is a stack being included when not referenced?

2014-11-19 Thread Paul Stanton
True, visiting PageA and PageB if they both had their own stacks would download shared snippets twice. The trade off between more bytes *IF* the user visits both PageA and PageB or a single resource if they just visit PageA. In my example, the 3 large pages have 3 distinct audiences. Only sele

Re: [5.3] why is a stack being included when not referenced?

2014-11-19 Thread Thiago H de Paula Figueiredo
On Wed, 19 Nov 2014 16:10:53 -0200, Paul Stanton wrote: Thiago, Tapestry is smart enough to not download JS twice. I'm not sure you understood my example. It may not download the same JS code twice in the same page, but, considering different pages in the same site, the user browser wo

Re: [5.3] why is a stack being included when not referenced?

2014-11-19 Thread Paul Stanton
Thiago, Tapestry is smart enough to not download JS twice. Your 2nd paragraph sounds more likely - someone took the approach that if a resource is in a stack, then that resource must require the whole stack. I think this logic is flawed, or at least could be optional, certainly documented!

Re: [5.3] why is a stack being included when not referenced?

2014-11-19 Thread Thiago H de Paula Figueiredo
On Wed, 19 Nov 2014 07:57:19 -0200, Geoff Callender wrote: I've never seen this but I probably don't have any stacks that include a resource that I also reference outside of the stack. If it's true then it sounds like a bug. I'm not sure it is. I guess the reasoning behind this is to not

Re: Hints on javascript debugging

2014-11-19 Thread Charlouze
Have you tried the remote debugging tool also ? 2014-11-18 21:20 GMT+01:00 Chris Mylonas : > Thanks charlie > > That mobile testing is quite extreme/thorough looking. I've just been > resizing the browser like a caveman hehe >

Re: [5.3] why is a stack being included when not referenced?

2014-11-19 Thread Geoff Callender
I've never seen this but I probably don't have any stacks that include a resource that I also reference outside of the stack. If it's true then it sounds like a bug. On 19 Nov 2014, at 3:33 pm, Paul Stanton wrote: > Further digging finds that if StackA includes ResourceA and PageB or any of

Re: [5.4.22] Overriding core css - bug?

2014-11-19 Thread Dimitris Zenios
Hello everyone Sorry for resurrecting an old thread but I have come across this in an application I am developing.In my opinion including the whole core stack just because we want to include a single style sheet is wrong especially in cases where I set the INCLUDE_CORE_STACK symbol to false.Its up