Cache Primer for Sharepoint with ADFSv3
Project description
Overview
The first time a browser hits a sharepoint site after a restart, the caches are empty, so the page can take a while to load. One can script something to silently hit a sharepoint web-frontends, causing it to build caches and preventing any real people from experiencing that.
This tool does this for a specific circumstance where it’s kind of hard to script it without better tools - where normal NTML authentication doesn’t work, because there is ADFSv3 authentication configured, and where there may be a number of web-frontends behind a load balancer.
I don’t know why this is required. I’m not a sharepoint admin. Maybe it’s an artifact of a particular setup.
Installation
- Simple install:
pip install sharepointcacheprimer
Usage
usage: sharepointcacheprimer [-h] config site [site …]
Connect to sharepoint site, authenticate, and load a page, thereby priming the caches. The configuration file should contain a section defining each site you are priming.
- positional arguments:
config configuration ini file site sites (section names) in configuration ini file to prime
- optional arguments:
- -h, --help
show this help message and exit
Configuration
See the included ‘example.ini’ for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sharepointcacheprimer-1.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed8ec837a96cce6d16efafc9eeb5734234849c9357d4441f3e36893d7f0d1fcb |
|
MD5 | d460935b560deb1a3cbddb64f2b09dcf |
|
BLAKE2b-256 | 8f1f80b900c134eea961157b832b8c5a09ee2e76362ad0622879076614096832 |
Hashes for sharepointcacheprimer-1.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac4397fcbee140814a97471972e3b931a12166c11aa471e8c13f5d08b1658cf4 |
|
MD5 | 55143c30f4965734f9462f9d8b7a8e90 |
|
BLAKE2b-256 | 6520db5d36c8faea0294ad0e1c8ccf9efda8d4322bb3c87e6bfc75274ebd8e60 |