CKAN extension for data.nhm.ac.uk
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
ckanext
.gitignore
CHANGELOG.txt
LICENCE
README.md
gulpfile.js
package.json
requirements.txt
setup.py

README.md

ckanext-nhm

CKAN extension for data.nhm.ac.uk

paster datastore update-stats -c /etc/ckan/default/development.ini

Caching

NGINX

Datastore API searches are cached by the NGINX proxy.

To clear the NGINX cache, issue a PURGE HTTP request:

Production:

curl -X PURGE data.nhm.ac.uk

Staging:

curl -X PURGE http://data-nlb-stg-1.nhm.ac.uk

Memcached

Memory intensive function calls are cached with memcached.

echo 'flush_all' | nc localhost 11211

Clearing Cache

Caches are cleared on dataset updates see plugin.py:IPackageController

Requirements

Shapely<1.3 is added as a requirement but is not used by ckanext-nhm.

This is to fix a bug with ckanext-spatial trying to install an incompatible version.

See https://github.com/ckan/ckanext-spatial/issues/94.