Well, don't I feel super dumb.

Except... Where are the JS files? I can't find them linked to on the 
product site, nor from the playground, nor can I find compiled versions of 
them in Github. I tried to pull source to maybe build them, but I can't 
figure out how (and there's no README).

So... am I really supposed to pull them out of my browser cache?

You should probably also update the documentation to make clear that 
caja.appspot.com shouldn't be used like this. There's nothing to indicate 
that it shouldn't be, and it's used in all the examples.

Adam

On Monday, June 29, 2015 at 4:27:56 PM UTC-4, Kevin Reid wrote:
>
> On Mon, Jun 29, 2015 at 12:55 PM, Adam Pritchard <[email protected] 
> <javascript:>> wrote:
>
>> On Friday we rolled out a test of using Caja on a small-ish set of the 
>> site(s) we serve. We had pre-cajoled the content (1 req/15 mins), and were 
>> using caja.appspot.com/caja.js to put the content into the page. Shortly 
>> thereafter, caja.appspot.com started returning 503, with "exceeded 
>> quota".
>>
>> Maybe it was us that pushed it over quota (with ~50 page hits/min), maybe 
>> it wasn't, but it raises the question: Should we not being using 
>> caja.appspot.com in a production environment? (Our full production load 
>> is ~50 page hits/sec.)
>>
>
> Please do not use caja.appspot.com for other than local testing purposes. 
> Since modern Caja is purely client-side, all that is needed is to serve the 
> JS files yourself.
>  
>
>> (I had assumed the GAE instance would have some solid Google scaling 
>> behind it, but apparently not.
>>
>
> caja.appspot.com is on free GAE quota. It's not meant for production use 
> but as a prototyping and debugging tool.
>  
>
>> I also assumed that, since we were pre-cajoling, that we'd only be 
>> retrieving static JS files. But the correctness of these assumptions is 
>> probably tangential.)
>>
>
> You should not be cajoling at all. The mode that uses the cajoler ("ES5/3 
> mode") is deprecated and slated for removal as soon as key users are fully 
> migrated away.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to