Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Enable Arc CDN on a MediaWiki installation. [NOTE: The Scratch Wiki no longer uses this extension due to trust and privacy concerns with Arc]

License

Notifications You must be signed in to change notification settings

InternationalScratchWiki/ArcCDNIntegration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArcCDNIntegration

Enable Arc CDN on a MediaWiki installation.

Configuration

Find your Arc widget ID. Arc tells you to add something like this to your site:

<script async src="https://arc.io/widget.min.js#(WIDGET ID)"></script>

Find the (WIDGET ID) and configure the extension with it:

wfLoadExtension( 'ArcCDNIntegration' );
$wgArcWidgetID = '(WIDGET ID)';

Optionally, you can choose to only enable Arc CDN for a certain proportion of users:

$wgArcRolloutPercentage = 10; // 10% of users will be involved

Finally, serve arc-sw.js from your web root, either by reverse proxying to that link or just copying and serving it yourself.

About

Enable Arc CDN on a MediaWiki installation. [NOTE: The Scratch Wiki no longer uses this extension due to trust and privacy concerns with Arc]

Resources

License

Stars

Watchers

Forks

Languages