Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

Cache in Shoporama: when do your changes show up?

How caching works in Shoporama: how often each cache layer is rebuilt, when your changes become visible, and how to force a cache reset.

Reading time: about 9 minutes
Store owner

Shoporama uses caching in several places to keep your store fast for customers. It also means your changes do not always show up right away. This article gives you an overview of the cache layers that exist, how often they are rebuilt, and how to force a refresh when you are in a hurry.

The short answer: Click Save and rebuild cache under Webshop → General. If you only want to see your changes yourself, click Show webshop in the top right corner of the admin: you then see the store without cache while you are logged in. The rest of the article explains which cache layers exist and exactly when they update themselves.

How often is the main cache rebuilt?

The classic page cache sits on top of the front page, category pages, and product pages. It is built continuously as your customers visit the pages. The first customer who opens a page after a change triggers a new build, and every customer after that sees the new version. You can always force a fresh build manually.

How to clear the cache manually

Go to Webshop → General in the menu on the left, and click Save and rebuild cache at the bottom of the page. All customers then see the new version.

If you only want to see your changes yourself, click Show webshop in the top right corner of the admin. You are then logged in to the store and see the pages without cache, but customers still see the saved version until it updates itself.

See the full guide in How do I clear the cache?.

Block cache

In addition to the main cache, there is a block cache that your theme developer controls. Block cache is applied to specific parts of the theme (for example a "bestseller" block or a menu) with an individual lifetime. This means the heavy part is only built every now and then, while the rest of the page is fully dynamic. The two cache layers work together, not against each other.

Cache on custom feeds

If you build your own feed (for example for Google Shopping, Facebook, or a price comparison site) from a landing page, the feed file is stored in a cache so it does not have to be recalculated on every request. The file is rebuilt every hour at minute 47 (10:47, 11:47, 12:47, and so on). This means changes to the products in the feed show up the next time minute 47 comes around.

The comparison service then fetches the feed at its own interval on top of that. Google Merchant Center typically fetches once a day, so it can take a day from when the change is in the feed until it appears in your ads.

Cache on the /ajax endpoint

If your theme uses the /ajax endpoint for filtering or infinite scroll, each unique URL is cached for up to 12 hours. This makes filtered product lists very fast, but it also means a price change may not be visible until the cache expires. You can force a rebuild of a specific URL by adding rebuild=1 to the request.

Cache on the built-in Google Shopping and product feeds

The feeds that Shoporama provides out of the box (Google Shopping and similar) are built on two schedules:

  • The Google Shopping feed is updated every hour at minute 17.
  • The general product feed is updated every other hour at minute 15 (00:15, 02:15, 04:15, and so on).

You normally do not need to do anything for the built-in feeds. They are rebuilt automatically as soon as the next scheduled time comes around.

Cache on stock and prices

Stock status is updated regularly in the background, independently of the page cache, so customers rarely see an incorrect quantity. Campaign prices are also synchronized several times an hour, so active campaigns show up quickly on the products they include.

When do changes show up?

  • Product texts and prices: At the next cache build, or immediately when you clear the cache manually.
  • Stock status: Updated regularly in the background, independently of the page cache.
  • Images: Visible immediately.
  • Theme changes: Visible immediately. Smarty recompiles your templates automatically when the files change.
  • Your own feeds (custom feeds via a landing page): Updated every hour at minute 47.
  • Built-in Google Shopping feed: Updated every hour at minute 17.
  • Filtered product lists via /ajax: Updated when the 12-hour cache lifetime runs out, or with rebuild=1.

Tip: If you are editing many products at once, wait to clear the cache until all your changes are saved. That spares the server unnecessary work, and you avoid waiting for a cache build that is overwritten shortly afterward anyway.

Frequently asked questions

Why can't I see my new price in the store?

Usually because the cache has not been updated yet. Use Save and rebuild cache under Webshop → General. With Show webshop in the admin, you can see the store without cache right away. Also check that you are not looking at an old version in your browser's cache. Do a hard refresh with Ctrl+F5 (Windows) or Cmd+Shift+R (Mac).

My Google Shopping feed still shows the old price. What do I do?

If you build the feed yourself via a landing page, it is updated every hour at minute 47. If you use Shoporama's built-in Google Shopping feed, it is updated every hour at minute 17. Wait for the next update. Google Merchant Center typically fetches your feed once a day, so it can take a day from when the change is in the feed until it appears in your ads.

Do I need to clear the cache every time I edit a product?

No. The cache is rebuilt automatically as soon as a customer visits the page. You only need to clear it manually if you are in a hurry to see the change, or if you are updating many products at once and want to make sure the whole store is fresh at the same time.

How long does the /ajax endpoint cache results?

Up to 12 hours per unique URL. This gives you very fast filtered lists, but it also means a price you just changed can take a while to show up in a filtered view. Add rebuild=1 to the request to force an update, or clear the entire cache with Save and rebuild cache.

Does caching affect my SEO?

Caching is mostly good for SEO because it makes the store faster, and speed is a ranking factor in Google. If you make important changes to texts or titles, clear the cache and ask Google to re-index the pages via Search Console.

What is the difference between block cache and the main cache?

The main cache is the classic page cache that covers the entire front page, category pages, and product pages. Block cache is a more fine-grained cache that the theme developer can apply to individual parts of the theme, for example a "popular products" block that is only built once an hour. The two cache layers work together, not against each other.

My designer has made changes to the theme, but the new design is not showing?

Templates are compiled automatically, so design changes are normally visible right away. If it still does not work, clear the cache and do a hard refresh in your browser. It is usually your browser holding on to the old CSS or JS file.

Can customers see different versions of the cache?

The cache is shared by all visitors, but some dynamic parts (for example the cart, login status, and personal prices) are not cached, so each customer always sees their own data there. This also means pricing logic such as B2B prices or member discounts is always correct for the individual customer.

I just created a new custom feed. When is it available?

The first time a feed URL is requested, the file is built and cached. If you want a fresh version of an existing feed, wait for the next build at minute 47, or clear the cache with Save and rebuild cache.

My campaign is activated, but the price still shows as normal. What is wrong?

Campaign prices are synchronized several times an hour, and the page cache is rebuilt on the next visit. First check that the campaign is active (start and end date), then clear the cache with Save and rebuild cache under Webshop → General, and do a hard refresh. If the price is still wrong after a few minutes, contact support.

Need help? Contact us at support@shoporama.dk.