---
title: Cached Stock Positions
description: If we had to get 40 or 50 stock positions from your office every time we rendered a single page […]
---

<https://blog.gob2b.com/blog>

# [Cached Stock Positions](https://blog.gob2b.com/blog/features/stock-position/cached-stock-positions)

 Written by [Ben R. Cowin](https://blog.gob2b.com/blog/author/ben-r-cowin) | Jan 22, 2016 4:50:32 PM

If we had to get 40 or 50 stock positions from your office every time we rendered a single page the website would run very slowly. So our ecommerce software uses a cascade of memory and database caches to keep the stock position. By default the cache value expires every 4 hours and the value is also updated when a sale is made through the website.

The cache time-out is configurable. We also provide cache control features so you can void the cache for a single stock code or all product if you need to.

[View full post](https://blog.gob2b.com/blog/features/stock-position/cached-stock-positions)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Ben R. Cowin"
  },
  "dateModified" : "2021-01-06T12:14:50.569Z",
  "datePublished" : "2016-01-22T16:50:32Z",
  "headline" : "Cached Stock Positions",
  "image" : {
    "@type" : "ImageObject",
    "height" : 60,
    "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
    "width" : 60
  },
  "mainEntityOfPage" : "https://blog.gob2b.com/blog/features/stock-position/cached-stock-positions",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "GOb2b Blogs"
  }
}
```