Search results for cache

7 articles found

  • The cache object

    The cache object is used for retrieving values stored in the shop's Mechanic cache. Values are set exclusively via the cache action. How to access it Use {{ cache["cache_key"] }} in any task script

  • The "cache" action

    Backed by Redis, Mechanic offers a simple key/value cache store that you can use in your task scripts. This cache is not intended for long-term storage; all values expire a maximum of 60 days from

  • Using cache endpoints to share data

    Cache endpoints allow you to publish the data you store in Mechanic's cache, making it available via a private JSON API. Like webhooks, cache endpoints may be called from your online storefront (and

  • All action types

    New to Mechanic? Learn more about actions here. Cache – Allows you to manipulate a simple key/value cache, giving your tasks a short-term memory. Echo – Useful for debugging and logging. Use it to

  • Scripts

    Mechanic turns Liquid from a templating language, into a programming language. By nature, this document is basically wholly for developers. But – and we mean this – we're all about education. If

  • Creating events with webhooks

    A Mechanic webhook allows you to submit your own data, resulting in a new event having a particular topic, containing the data you've submitted. Webhooks are called with simple HTTP POST requests,

  • Querying Shopify

    Mechanic supports three methods for fetching data from Shopify: Liquid objects GraphQL GraphQL with bulk operations This article is about fetching data. Learn about writing data with the "shopify"