Cache in Shoporama
How caching works in Shoporama. How often caches are built, when your changes take effect, and how to force a reset.
Shoporama uses caching in several places to ensure your online store loads quickly for customers. This also means that your changes may not always take effect immediately. Here’s a comprehensive overview of the available cache layers, how often they’re refreshed, and how to force an update if you’re in a hurry.
The short answer: Click Save and Clear Cache under Online Store → General. If you just want to see your changes yourself, click “View Online Store ” in the top-right corner of the admin panel: this will let you view the store without the cache while you’re logged in. The rest of this article explains which cache layers exist and exactly when they update automatically.
How often is the main cache built?
The classic page cache is applied to the homepage, category pages, and product pages. It is continuously built as your customers visit the pages. The first customer to visit a page after a change triggers a new build, and all subsequent customers see the new version. You can always force a fresh rebuild manually.
How to manually clear the cache
Go to Webshop → General in the left-hand menu, and click Save and Clear Cache at the bottom of the page. Then all customers will see the new version.
If you just want to see your changes yourself, click View Webshop in the top-right corner of the admin panel. You’ll then be logged into the shop and see the pages without the cache, but customers will still see the cached version until it updates automatically.
See the full guide in “How do I clear the cache?”.
Block Cache
In addition to the main cache, there is a block cache, which is managed by your theme developer. The block cache is applied to specific parts of the theme (e.g., a “bestseller” block or a menu) with an individual expiration time. This means that the resource-intensive part is only rendered occasionally, while the rest of the page remains fully dynamic. The two cache layers work together, not against each other.
Caching Your Own Feeds
If you build your own feed (e.g., Google Shopping, Facebook, or a comparison service) based on a landing page, the feed file is stored in a cache so it doesn’t have to be recalculated for every request. The file is regenerated every hour at minute 47 (10:47, 11:47, 12:47, etc.). This means that changes to the products included in the feed take effect the next time minute 47 rolls around.
The comparison service fetches the feed itself at its own interval on top of that. Google Merchant Center typically fetches the feed once a day, so it may take up to 24 hours from when a change is made to the feed until it appears in the ads.
Cache on the /ajax endpoint
If your theme uses the /ajax endpoint for filtering or infinite scroll, it caches each unique URL for up to 12 hours. This makes filtered product lists lightning-fast, but it also means that a price change won’t be visible until the cache expires. You can force a rebuild of a specific URL by adding `rebuild=1 ` to the call.
Caching of built-in Google Shopping and product feeds
The feeds that Shoporama provides out of the box (Google Shopping and similar) are built in two stages:
- The Google Shopping feed is updated every hour at the 17-minute mark.
- The general product feed is updated every two hours at the 15-minute mark (00:15, 02:15, 04:15, etc.).
For the built-in feeds, you usually don’t need to do anything. They are automatically rebuilt as soon as the next scheduled times are reached.
Cache for Inventory and Prices
Inventory status is updated regularly in the background, independent of the page cache, so customers rarely see an incorrect quantity. Promotional prices are also synchronized several times an hour, so active promotions take effect quickly on the products they apply to.
When do changes take effect?
- Product descriptions and prices: Upon the next cache rebuild, or immediately upon manual reset.
- Stock status: Updated regularly in the background, independent of the page cache.
- Images: Visible immediately.
- Theme changes: Visible immediately. Smarty automatically recompiles your templates when the files are changed.
- Custom feeds (via landing page): Updated every hour at minute 47.
- Built-in Google Shopping feed: Updated every hour at the 17-minute mark.
- Filtered product lists via /ajax: Updated after the cache’s 12-hour lifespan or with `rebuild=1`.
Tip: If you’re editing many products at once, wait to clear the cache until all changes have been saved. This saves the server from unnecessary work and prevents you from waiting for a cache rebuild that will be overwritten shortly afterward anyway.
Frequently Asked Questions
Why can’t I see my new price in the store?
Usually because the cache hasn’t been updated yet. Use “Save and Clear Cache” under Web Store → General. With “View Web Store” in the admin panel, you can see the store without the cache right away. Also, check to make sure you’re not viewing an old version from your browser’s cache. Perform a hard refresh using Ctrl+F5 (Windows) or Cmd+Shift+R (Mac).
My Google Shopping feed still shows the old price. What should I do?
If you’re building the feed yourself via a landing page, it updates every hour at the 47-minute mark. If you’re using Shoporama’s built-in Google Shopping feed, it updates every hour at the 17-minute mark. Wait for the next update. Google Merchant Center typically fetches your feed once a day, so it may take up to 24 hours from when the change is made in the feed until it appears in the ads.
Do I need to clear the cache every time I edit a product?
No. The cache is automatically built as soon as a customer visits the page. You only need to manually clear it if you’re in a hurry to see the change, or if you’re updating many products at once and want to ensure the entire store is up to date all at once.
How long does the /ajax endpoint cache?
Up to 12 hours per unique URL. This provides lightning-fast filtered lists, but it also means that a price that has just been changed may take some time to reflect in a filtered view. Add `rebuild=1 ` to the call to force an update, or clear the entire cache via “Save and Clear Cache.”
Does caching affect my SEO?
Caching is generally good for SEO because it makes the store faster, and speed is a ranking factor in Google. If you make important changes to text or titles, clear the cache and ask Google to re-index via Search Console.
What’s the difference between block cache and main cache?
The main cache is the classic page cache that covers the entire homepage, category pages, and product pages. Block cache is a more granular cache that the theme developer can apply to individual parts of the theme, such as 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 isn’t showing up?
Templates are automatically recompiled, so design changes are usually visible immediately. If the issue persists, clear the cache and perform a hard refresh in your browser. Typically, your browser is holding onto the old CSS or JS file.
Can customers see different versions of the cache?
The cache is shared by all visitors, but some dynamic elements (e.g., shopping cart, login status, and personalized prices) are not cached, so each customer always sees their own data there. This also means that sales logic—such as B2B prices or membership discounts—is always correct for each individual customer.
I just created a new custom feed. When will it be available?
The first time a feed URL is called, the file is built and cached. If you want a fresh version of an existing feed, wait until the next build at minute 47, or clear the cache via “Save and Clear Cache.”
My campaign is active, but the price is still showing as normal. What’s 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 dates), then clear the cache using “Save and Clear Cache” under Webshop → General, and perform a hard refresh. If the price is still incorrect after a few minutes, please contact support.
Need help? Contact us at support@shoporama.dk.
Related articles
How do you reset cache?
Guide to resetting the cache on your Shoporama online store so that changes take effect immediately.
Ajax filtering
Technical documentation for Shoporama's /ajax endpoint for filtering products. For developers and theme designers.
Build your own feeds
Guide to building your own product feeds in CSV, XML or JSON format with Shoporama's custom feed feature.
Split your feeds into multiple pages
Here's how to split a custom XML feed from a landing page into multiple pages. The parameter is determined by your own feed template.
Set Up a Google Shopping Feed
Guide to Setting Up a Google Shopping Feed in Shoporama: categories, custom labels, product IDs, and catalog matching; feeds by country with the...
Related features
Cache
Caching stores data temporarily for faster delivery. Learn about browser caching, server-side caching, CDN and how Shoporama uses caching to...
CDN
A CDN delivers web content from servers close to the user for faster load times. Read about CDN, caching and speed for webshops.
Core Web Vitals
Core Web Vitals (LCP, INP, CLS) are Google's metrics for page speed and user experience. Learn about thresholds, optimization and the importance...
Speed is a feature - that's why we've made Shoporama shops lightning fast
We love fast online shops. Everyone does. That's why we've made Shoporama webshops lightning fast. It's good for you, your user and your SEO
Build your homepage in the page builder
The Shoporama homepage is a category. Build it using sections in the page designer, display the right products, and make sure the layout doesn't...
Montana and MontanaB2B: All Modules in the Page Designer
A guide to all 25 modules in the page designer for Montana and MontanaB2B: banners, products, categories, text, content items, and...
Delaware and DelawareDK: All modules in the page designer
A guide to all 25 modules in the page builder for Delaware and DelawareDK: hero, products, categories, text, content items, and...