Skip to main content
Travis PyPI

Scrapy Memcached Cache

Memcached HTTP cache storage backend for Scrapy.

Install

Install the package with pipenv install scrapy-memcached-cache or pip install memcached-cache.

Usage

In your Scrapy settings.py:

  1. Enable HTTP cache with HTTPCACHE_ENABLED = True

  2. Set the cache expiration (in seconds), for example, with HTTPCACHE_EXPIRATION_SECS = 600

  3. Set MemcachedCacheStorage as your cache storage with HTTPCACHE_STORAGE = 'scrapy_memcached_cache.MemcachedCacheStorage'

  4. Set the location where your Memcached is running, for example, with MEMCACHED_LOCATION=localhost:11211

  5. Done 🎉

Contributing

Please, format your code with Black.

Metadata

Release files for scrapy-memcached-cache 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scrapy-memcached-cache 0.0.3
File Size Uploaded
scrapy-memcached-cache-0.0.3.tar.gz 2.5 kB Details

Release files / scrapy-memcached-cache-0.0.3.tar.gz

Download URL scrapy-memcached-cache-0.0.3.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fbc8b3649fde268b046e85bbcfbf475563a95b166be30612181a5443d68feec5
BLAKE2b-256 checksum
How to use checksums
3e807204d665aae9b3fb6fb997ff89b6009a52655e1e4101cf54df9dbdee76d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page