Skip to content
Extraits de code Groupes Projets
Valider c003e707 rédigé par Eugen Rochko's avatar Eugen Rochko
Parcourir les fichiers

Caching should work correctly now (fingers crossed)

parent 562044f3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
object @account
cache false
attribute :id
node(:following) { |account| @following[account.id] || false }
node(:followed_by) { |account| @followed_by[account.id] || false }
......
object @account
cache false
cache
attributes :id, :username, :acct, :display_name, :note
......
object @context
cache false
node :ancestors do |context|
partial 'api/v1/statuses/index', object: context.ancestors
......
object @status
cache false
cache
extends 'api/v1/statuses/_show'
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter