Contentful Personalization & Analytics
    Preparing search index...

    SDK-managed Contentful entry fetching configuration.

    interface ContentfulConfig {
        cache?: false | ContentfulEntryCacheOptions;
        client: ContentfulEntryClient;
        defaultQuery?: ContentfulEntryQuery;
    }
    Index

    Properties

    Per-SDK-instance entry cache configuration.

    Defaults to { maxEntries: 100, ttlMs: 300_000 }. Set to false to disable caching.

    contentful.js client used for SDK-managed getEntry() / getEntries() calls.

    defaultQuery?: ContentfulEntryQuery

    Query merged into every SDK-managed Contentful entry fetch.