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.
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.
Related articles
How do I clear the cache in my store?
How to clear the cache in your Shoporama store so your changes show up right away.
AJAX product filtering with the /ajax endpoint
Technical documentation for Shoporama's /ajax endpoint, which returns products as JSON for AJAX filtering, lazy loading, and infinite scroll. For...
Build your own custom product feeds in CSV, XML, or JSON
A guide to building your own product feeds in CSV, XML, or JSON format with Shoporama's custom feed feature.
Split custom feeds into multiple pages (pagination)
How to split a custom XML feed from a landing page into multiple pages. Your own feed template decides the parameter.
Set up your Google Shopping feed in Shoporama
How to set up and customize the built-in Google Shopping feed in Shoporama: Google product categories, custom labels, product IDs and catalog...
Related features
Cache
A cache stores data temporarily for faster delivery. Learn about browser cache, server-side cache, CDNs, and how Shoporama uses caching to boost...
CDN (Content Delivery Network)
A CDN delivers web content from servers close to the user for faster load times. Learn about CDNs, caching, and site speed for online stores.
Core Web Vitals
Core Web Vitals (LCP, INP, CLS) are Google's metrics for page speed and user experience. Learn the thresholds, how to optimize, and what they mean...
Speed is a feature: why we made Shoporama stores lightning fast
We love fast online stores, and so does everyone else. That's why we made Shoporama stores lightning fast. It's good for you, your customers, and...
Build your homepage in the page designer
Your Shoporama homepage is a category. Build it with sections in the page designer, show the right products, and keep the layout off your category...
Montana and MontanaB2B: all modules in the page designer
Guide to all 25 page designer modules in Montana and MontanaB2B: banners, products, categories, text, content entries, and newsletter, field by field.
Delaware and DelawareDK: all modules in the page designer
Guide to all 25 page designer modules in Delaware and DelawareDK: hero, products, categories, text, content entries, and newsletter, with common...