Lucas_Werkmeister_WMDE added a comment.

  These days, we only cache a few specific URL patterns (see T260349 
<https://phabricator.wikimedia.org/T260349>):
  
  name=operations/mediawiki-config.git/wmf-config/Wikibase.php
    // entity data for URLs matching these patterns will be cached in Varnish 
and purged if needed;                                                           
                                                                                
                                                                                
                             
    // all other entity data URLs will receive no caching                       
                                                                                
                                                                                
                                                                                
                           
    $wgWBRepoSettings['entityDataCachePaths'] = [
        // // JSON from entity page JS, compare 
wikibase.entityPage.entityLoaded.js                                             
                                                                                
                                                                                
                                                           
        '/wiki/Special:EntityData/{entity_id}.json?revision={revision_id}',
        // Turtle from Query Service updater, compare WikibaseRepository.java   
                                                                                
                                                                                
                                                                                
                           
        
'/wiki/Special:EntityData/{entity_id}.ttl?flavor=dump&revision={revision_id}',
        // third pattern with high volume of requests in Hive, source unknown   
                                                                                
                                                                                
                                                                                
                           
        
'/wiki/Special:EntityData?id={entity_id}&revision={revision_id}&format=json',
    ];
  
  The only RDF pattern in there uses `flavor=dump`, so at least in production, 
this shouldn’t make a difference for the cache. But I suppose Wikibase should 
also work correctly if a non-dump URL pattern is configured for caching.

TASK DETAIL
  https://phabricator.wikimedia.org/T285795

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Manuel, Aklapper, Addshore, Lydia_Pintscher, Tarrow, daniel, 
Lucas_Werkmeister_WMDE, Tonina_Zhelyazkova_WMDE, Ladsgroup, Invadibot, 
maantietaja, Akuckartz, Iflorez, alaa_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to