protected function buildResourceTransformer()
protected function buildResourceTransformer()
Return
wild |
public function shouldRequireLogin()Inherited
public function shouldRequireLogin()
Inherited
Return
wild |
public function shouldRequireEnabledUser()Inherited
public function shouldRequireEnabledUser()
Inherited
Return
wild |
public function shouldAllowPartialSessions()Inherited
public function shouldAllowPartialSessions()
Inherited
Return
wild |
public function shouldAllowLegallyNonCompliantUsers()Inherited
public function shouldAllowLegallyNonCompliantUsers()
Inherited
Return
wild |
public function getCelerityResourceMap()
public function getCelerityResourceMap()
Return
wild |
protected function serveResource($spec)Inherited
protected function serveResource($spec)
Inherited
Parameters
array | $spec |
Return
wild |
public static function getSupportedResourceTypes()Inherited
public static function getSupportedResourceTypes()
Inherited
Return
wild |
private function makeResponseCacheable($response)Inherited
private function makeResponseCacheable($response)
Inherited
Parameters
AphrontResponse | $response |
Return
wild |
private function isLocallyCacheableResourceType($type)Inherited
private function isLocallyCacheableResourceType($type)
Inherited
CelerityResourceController
Is it appropriate to cache the data for this resource type in the fast immutable cache?
Generally, text resources (which are small, and expensive to process) are cached, while other types of resources (which are large, and cheap to process) are not.
Parameters
string | $type | Resource type. |
Return
bool | True to enable caching. |
protected function getCacheKey($path)
protected function getCacheKey($path)
Parameters
$path |
Return
wild |
public function handleRequest($request)
public function handleRequest($request)
Parameters
AphrontRequest | $request |
Return
wild |