An open API service indexing awesome lists of open source software.

https://github.com/dennisinteractive/dennis_cache_warmer

Warm the cache while still in maintenance mode
https://github.com/dennisinteractive/dennis_cache_warmer

Last synced: about 1 year ago
JSON representation

Warm the cache while still in maintenance mode

Awesome Lists containing this project

README

          

# Dennis Cache Warmer
Warm the cache while maintenance mode is still on.

Bypassing maintenance mode requires admin access.

* Either an existing admin account can be used, in which case both the username & password must be passed as options: `drush dennis-cache-warm --username=admin --password=password http://auth.example.com`

* Or let drush create a temporary admin user:`drush dennis-cache-warm --autouser http://auth.example.com` This requires drush to be running on the same server as the site.

To use custom paths, rather than the built in ones ( _/, /news, /reviews, /contact-us_ ) give the **--paths** option the absolute path to a text file that has paths listed, one per line: `drush dennis-cache-warm --autouser --paths=/home/vagrant/repos/dennis_distro_7/sites/autoexpressuk/warm_cache.txt http://auth.example.com`

To use with maintenance mode off use the --mode option: `drush dennis-cache-warm --mode=off http://auth.example.com`