Functions

Tick function for stepping through GAE code, using ?gae_stop=<code-pos>.

gae_debugger() 

Find whether the current user is an admin, from the perspective of the Google Console.

gae_is_admin() : boolean
package google_appengine

Returns

booleanCurrent user is admin

Enable/Disable GAE optimistic cache, meaning it avoids need to check the Cloud Storage if a file is updated.

gae_optimistic_cache(boolean $enabled) 

We only set this to enabled if we are sure the persistent cache would receive a flush if the referenced file changed state.

package google_appengine

Parameters

$enabled

boolean

Whether the cache is enabled