User Feedback
OcBox PageSpeed Suite: from 30 to 90+ Google PageSpeed points on OpenCart in an hour, without rewriting your theme
A stock OpenCart store with a catalogue of a thousand products loads for 3-8 seconds. Every page is 30-50 database queries, a full Twig render, 200-500 KB of HTML, dozens of separate JS and CSS files each with its own connection. Google PageSpeed scores 20-40 points, Core Web Vitals are red, LCP is bigger than 2.5 seconds. The buyer did not wait and left. Your Google Ads cost more because Quality Score is lower for slow sites. SEO traffic drops too, because Google has an explicit ranking signal for speed.
OcBox PageSpeed Suite is a complete set of optimisations in one module, assembled so that you can turn it on a live store without rewriting the theme and without five separate licences. Full page cache, separate block caches, automatic critical CSS extraction and inline into head, JS and CSS bundling per page type, HTML minification, lazy-loading of images below the fold, cache depersonalisation for guests, separate mobile and desktop caches, cache warmup via crawling, surgical invalidation on product change, 503 protection from scanner bots, a four-step setup wizard and complete analytics with PageSpeed Insights history right inside the admin.
The core idea: bring OpenCart speed up to the level that used to cost $200 for one module out of three, for the price of one. The module contains everything that is usually sold as separate products: FPC (think JetCache), critical CSS (think a separate Critical CSS plugin), a bundler (think Lightning), image lazy-loading, cache warmup, bot protection. One module, one wizard, one set of settings, one licence. On real stores: time to first byte drops 5-15 times (from 1-2 seconds to 50-150 ms), HTML shrinks 60-80% (1.22 MB becomes 43 KB), 3-5 times fewer requests. On our demo.ocbox the home page went from 1.05 seconds to 0.16, seven times faster.
What you get
Below is the feature list with an explanation of exactly which pain each one solves. This is not a marketing bullet list, it is a working checklist of what you get on day one after installation.
Rendered HTML is cached to disk and on a repeat hit is served straight from the file, without a single database query, without Twig rendering, without loading the full OpenCart core. Time to first byte drops from 1-2 seconds to 50-150 ms. Nine storefront routes are cached: home, product page, category, information page, manufacturer, blog feed, specials, latest and bestsellers. Checkout, cart, account, register and login never enter the cache, because these are per-visitor pages. This is not a blacklist of «everything except…», it is a deliberate whitelist, so a new theme with its own magic cart route cannot accidentally break checkout.
⚠ Without this: every storefront request re-generates the page, 30-50 SQL queries, Twig render, slow TTFB.
The top menu with categories, the information-page links in the footer, the side column with categories and manufacturers are cached as a separate layer. When a single product changes, you do not have to rebuild the entire HTML of the store: only the relevant block refreshes. Each block has its own TTL in settings, from 60 seconds to 24 hours.
⚠ Without this: every small edit triggers a long heavy rebuild of the entire cache.
The module walks through typical pages (home, category, product, info) by itself, extracts exactly the CSS that is needed to render the first screen, and injects it straight into the head of the cached page. The remaining styles are pulled in asynchronously via rel="preload" with onload-swap. The user sees a filled page in 200-500 ms instead of 2-3 seconds of blank white. Google PageSpeed stops penalising for render-blocking CSS, LCP drops. There is a 30 KB cap per page type, so head does not bloat.
⚠ Without this: render-blocking CSS, up to 3 seconds of blank white, LCP > 2.5, Core Web Vitals penalty.
A crawl collects every script and link rel="stylesheet" from the same host and bundles them into one JS pack and one CSS pack separately for home, category, product and info. The bundles live in /pagespeed_assets/ at web root with a hash in the file name, so the browser cache refreshes automatically on rebuild. In the cached HTML the individual script and link tags are replaced with references to the bundle. Third-party CDN scripts (Google Tag Manager, Facebook SDK, Binotel) stay on their servers, because your store is not allowed to repackage someone else's code. HTTP request count drops 5-10 times, size by 30-50%.
⚠ Without this: 30+ separate files, each with its own TCP handshake, painfully slow mobile 4G load.
Not every script is equally urgent. jQuery and the theme scripts must load synchronously or the page falls apart. Analytics and chat widgets can wait until after full load. Carousels and galleries are only needed when the user scrolls to them. The module sorts discovered scripts into three columns by itself: Critical loads synchronously in head, Deferred uses the defer attribute, Lazy runs via requestIdleCallback after onload. A kanban board in the admin lets you drag cards between columns with the mouse if auto-classification got it wrong for your theme. Manual decisions survive subsequent auto-classification passes.
⚠ Without this: analytics and chat block the render, LCP suffers because of widgets that are not actually needed in the first five seconds.
Analytics, Facebook Pixel, Binotel and Olark chats, Hotjar and similar third-party scripts do not need to run in the millisecond the page appears on screen. You turn on «Defer until interaction», list the exact domains to defer (googletagmanager.com, connect.facebook.net, widgets.binotel.com), and the module keeps those scripts out of the render path until the user scrolls, moves the mouse, clicks, presses a key, or the fallback timer fires (3-7 seconds by default). Analytics still fires eventually, but not at the cost of first-screen speed.
Some third-party scripts are not needed at all (the Hotjar account was closed but the tag stayed in the theme; a leftover Facebook Pixel from the previous agency). A separate «Remove third-party scripts and styles» list of substrings excises these tags from the cached HTML entirely, no deferral. Removed tags simply disappear from the page, their code is no longer in the document.
Images below the first 600 lines of body get loading="lazy" decoding="async" attributes and load only when the user scrolls to them. This is a native browser feature, no JS. On a category page with 50 products the initial load drops from 30 MB to 2-3 MB. The module does not touch images in head (logos, hero banners), because those are the first screen. It also skips data:-URI and decorative CSS backgrounds.
⚠ Without this: the mobile 4G shopper downloads 30 MB of images before seeing the product names.
Comments and inter-tag whitespace are stripped from cached HTML, shaving another 10-20%. But pre, textarea, script, style regions are preserved byte for byte, so formatted code on the page and form text fields are not broken. Conditional IE comments stay (they influence legacy browsers, cannot be stripped). If your theme has a specific comment (for example a service worker directive), the minifier can be turned off with its own toggle.
The module adds link rel="preload" for fonts referenced in your CSS and for the first img on the page, which is most likely the LCP element (Largest Contentful Paint). The browser starts fetching these resources before CSS parsing. On a typical store this shaves 300-500 ms off LCP, exactly the amount that often decides whether Core Web Vitals is green or red.
Personal fragments of the page (cart counter in the header, «My account» links, «Hi Elena» greetings) are never written into the cache. The HTML is cached in a depersonalised form, and after rendering a small JS placeholder quietly fetches these pieces with an AJAX request. One cache for all guests instead of a personal cache per visitor. Cache does not bloat a hundredfold, the disk does not fill up, and the cart counter updates instantly after adding a product, without reloading the page.
⚠ Without this: cache bloats 100-1000 times from personal variants of the same page, or every logged-in buyer bypasses the cache and the site becomes slow for your most valuable visitors.
User-Agent is detected on the fly, the mobile version of the page is cached separately from the desktop one. No «desktop view on an iPhone» because of an unlucky hit in a shared cache. Tablets default to desktop, but this is configurable.
After a cache purge, the first visitor to every page waits for a slow response, because their request is the one that creates the cache. Warmup solves this: via CRON or a manual button, the module crawls the main pages of the store (sitemap.xml or your own list) and puts them in the cache before the first real visitor arrives. There is a «no more than N URLs per crawl» limit (5-500) so a hosting plan with a limited number of worker processes does not get overwhelmed. If the crawl does not fit in one request, it resumes from where it left off.
When a product changes, the module purges the cache only of pages related to it: the product card itself, categories it sits in, and the manufacturer page. The rest of the cache stays warm. You do not have to flush the entire cache after every price edit in the admin. The same applies to categories, information pages and manufacturers. A large manual batch (for example a bulk edit through OcBox Product Editor) purges the cache in a single sweep at the end of the batch, not per-product.
On a typical store up to 50% of traffic is bots, and most of them deliver no value (non-academic price scanners, competitor parsers, abuse bots, SEO platforms you did not sign up for). When the cache is cold and the server is busy, these bots can take the store down. The module returns HTTP 503 with a Retry-After header so they back off for an hour. Googlebot, Bingbot, DuckDuckBot, AdsBot, Applebot and Mediapartners are NEVER blocked, so indexing is unaffected. Two modes: 503 only on cache miss (recommended, softer) or 503 always for non-whitelisted bots (aggressive, under heavy load).
No need to read a 50-page manual. The wizard walks through four steps: system diagnostics (is the cache directory writable, which PHP version, gzip/brotli availability, OPcache), run the crawl to collect assets, auto-classify scripts and extract critical CSS, final cache test comparing cold and warm responses. At the end you see before/after numbers and know exactly how many milliseconds the module just saved your store.
A separate «Analytics» tab shows real metrics from the module's own log for 24 hours, 7 or 30 days. Cache hit ratio, CPU saved, bytes served from cache, the top-20 pages that missed most often (candidates for the warmup list), hit ratio per block. Same place for «PSI history»: paste a Google PageSpeed Insights API key into settings, and the module runs the test once a day (or on demand) and stores mobile and desktop scores. Two weeks in, you have a growing-score curve you can show the store owner.
A separate «Page generation time» table shows, in milliseconds, how long rendering takes for home, category, product and info pages both without cache and with cache, and the resulting speedup percentage. No need to take our word for it, the numbers your module collects on your own store.
A 10 GB host and a thousand filter-parameter URLs can in theory bloat the cache forever. Two independent limits: maximum number of cached files (20 000 by default) and maximum total size in megabytes (2 GB by default). When a limit is hit, the module evicts the oldest and least-visited pages to make room. No «how much is there sitting on disk right now».
A four-currency store normally means four copies of every page in the cache. Currency-agnostic mode keeps one copy, and prices in the HTML are wrapped in span data-price="123.45" in the base currency. JavaScript in the browser reads the currency cookie, pulls OpenCart's exchange rates, and re-prices every number on the client. Prices may flicker ~50 ms on first paint while rates load, but this is a very acceptable price to pay for x4 cache hit ratio growth.
By default authenticated shoppers bypass the cache, because every page is personal for them. The optional mode caches them too: the server returns ONE HTML per customer group plus language plus device, and JavaScript after rendering fetches the greeting, cart counter, account links and wishlist with separate requests. Requires a careful staging-copy test; the settings page carries a large warning. When properly configured, wholesale customers on a 500-card category page get their response in 50 ms instead of 1.5 seconds, without ever seeing someone else's data.
A separate «Diagnostics» tab checks whether your hosting is ready for speed: cache directory writable, memory_limit at least 64 MB, PHP version, gzip and brotli availability, OPcache, register_shutdown_function, storefront reachable via curl. Each check has a status (OK, warning or error) and a hint about exactly what to ask the host if it's not OK. No more «it doesn't work» without an explanation.
Paste a Google PSI API key in settings (free on console.cloud.google.com), and the «Run PSI test» button right in the admin runs your site through the official Google test and saves the result to the database. A month in, you have a mobile and desktop score curve. Without a key, scores can be added manually and the module stores and plots them the same way.
The main question before first launch: «what if my page has a block I must not cache (a sale timer, a personal offer)?»
There are three levels of control. First, the «Excluded routes» list: comma-separated OpenCart routes the module must never cache (checkout/cart, account/login, affiliate/affiliate and so on). These pages never enter the cache at all. Second, the «Disable patterns» list one pattern per line: a page is not cached if its URL contains a pattern. Star-wildcard supported. Real-life examples: callback, */notify, paypal/*/ipn.
Third, if you want the page in the cache but a live block inside it (sale timer, in-stock counter, currency rate), you build that block as a separate JS placeholder that fetches its content via AJAX after render. Cart and account depersonalisation already work exactly this way, and it is the same mechanism the module exposes for any block of yours.
AJAX requests (requests with the X-Requested-With: XMLHttpRequest header) and API routes (/api/*) are NEVER cached, regardless of the lists. So your Telegram bot through AJAX, a shipping calculator and live filters keep working as they did.
What this means in plain language
Three real scenarios so you understand why you need this module.
Furniture store, 3000 products, PHP 7.4, Journal 2 theme
Before: Google PageSpeed 28 mobile / 54 desktop, LCP 3.8 s, TTFB 1.4 s. A shopper clicks an Instagram ad for a sofa, sees a blank white rectangle for three seconds, goes back to Instagram. Mobile bounce rate 68%.
After: Google PageSpeed 89 mobile / 97 desktop, LCP 1.1 s, TTFB 0.15 s. The same sofa card now shows a filled first screen within a second. Bounce rate dropped to 32%. A month later Facebook lowered CPM because the Pixel sees users staying on the page.
Auto-parts store, 15 000 products with filters, OpenCart 3.0 ocStore, LuxShop
Before: Black Friday, 3x the usual traffic, the site falls over on CPU. The host offers to move to a $120/month plan instead of $35. Effectively you pay a hard premium every month just to be slightly less slow.
After: the same tripled traffic on the same plan, because 92% of pages are served from cache without a single SQL query. The route whitelist keeps cart and checkout always live, so no one is blocked from purchasing. Hosting still costs $35.
New cosmetics store, 400 products, launching on Google Ads
Google Ads: Quality Score 4/10 on the landing page because it is slow. CPC $0.38 per click, and the budget grows because impressions shrink.
Two weeks after installation Quality Score is up to 8/10 and CPC down to $0.21. Google Ads does not tell merchants exactly how they score page speed, but in the same account with the same ad and the same audience the difference in click price for a faster site pays for the module within the first week.
Why not three separate modules (JetCache + separate Critical CSS + separate Lightning)?
First, that's three separate licences from three different authors, three separate update cycles, three separate support teams, three separate theme-compatibility matrices. On a typical project we have watched JetCache fight the Critical CSS plugin over the output buffer, while Lightning adds its own compression on top (which gives double gzip and a broken page).
Second, we at OcBox walked into those same rakes and engineered the module so those conflicts do not happen: PageSpeed Suite does NOT touch anyone else's PHP output buffer (never calls ob_clean, ob_end_clean, flush), and does NOT compress the page on top if the hosting or the engine is already compressing. The module steps aside instead of competing.
Third, it's simply one licence, one wizard, one analytics dashboard. Flip the «Full package» switch in settings and the module enables every compatible feature with sensible defaults. Double-caching will not happen, because the package is one.
Technical details that matter
The module does not touch the OpenCart core. Every hook works through an OCMOD file at system/oc_box_pagespeed_suite.ocmod.xml. Enabling or disabling is a single toggle in the admin, no risk of corrupting files.
Cache files live in system/storage/cache/pagespeed/. JS and CSS bundles live in pagespeed_assets/ at web root (with a hash in the filename, so they are cached forever on the client). No external servers, no CDN subscription, no outbound calls (except Google PSI API if you provided the key yourself).
Cart, account and wishlist depersonalisation runs through the module's own AJAX router, with no dependency on your theme. The header updates instantly after a product is added to the cart, with no page reload, even if the theme renders the header in a custom way (verified on Journal 2, UpStore, CyberStore, Chameleon, LuxShop, OctemplatesMama).
The page crawler reads stylesheet and script files straight from the store's disk, instead of fetching them from itself over the network. On hosting plans with a limited number of worker processes this is critical: otherwise the crawl eats every available worker and the site starts returning errors. That's the lesson we learned on real stores and shipped as the fix in version 1.4.1.
Compatibility
- OpenCart 3.0.x and ocStore 3.0 (main line)
- PHP 7.4 - 8.3
- ionCube Loader version 14 or newer
- Works with any theme, because it hooks through OCMOD
- Verified compatibility: Journal 2, Journal 3, UpStore, CyberStore, Chameleon, LuxShop, OctemplatesMama, stock default
- Compatibility with OcBox MEGA: PageSpeed Suite is bundled into the template and already configured
- Compatibility with other OcBox modules: Smart Search, PaymentHub, ShippingHub, Smart Related, Filter, AI Chat, Reviews Pro, Universal Import, Product Editor
A separate OpenCart 2.3 branch is maintained on request: drop us a private message.
A placeholder file is attached to this listing. The working build is compiled individually for your domain on the OcBox compiler with a precise licence lock. Access to the module download is provided after payment. For delivery, drop us a private message: your domain (and test domain if any), PHP and Loader version, OpenCart version, theme. The build is ready in 10-15 minutes.
Found a bug?
Write to the support topic or in a private message: the page URL, what you did, what happened, and the error text. How to turn on error reporting, find the log and see browser-console errors in five minutes, step by step with screenshots: OpenCart errors: how to enable, find and hand them over to the developer. With such a report we fix the problem significantly faster.
Recommended paid OcBox modules
|
Smart Related $30: related products |
SEO FAQ AI $30: AI FAQ + Schema.org |
AI Product Editor $50: bulk editor like Excel |
|
Image Pro $15: WebP, watermark |
Filter $30: smart filter + SEO |
Category Manager $30: visual category manager |
|
AI Smart Search $200: AI search with synonyms |
AI Chat $100: AI consultant 24/7 |
AI Photo Studio $50: AI photo editing |
|
PaymentHub $80: payment hub |
ShippingHub $80: shipping hub |
SmartOrder $30: fast checkout |
|
Shipping Rules $30: shipping rules |
AI Мегарепорти $20: reports and Telegram digest |
Product Bundles $30: product bundles |
|
Simple Super Search $50: fuzzy search without Sphinx |
OcBox MEGA $30: theme and modules bundle |
AI Quiz $50: AI product quiz |
|
Універсальний імпорт $50: supplier price import |
Відгуки Pro $30: reviews with photo and video |
Варіанти товару $30: size and color matrix |
OcBox MEGA is out: a ready-made store on OpenCart 3
Template and seven OcBox modules in one bundle: PageSpeed Suite is already included and configured, plus SmartOrder quick checkout, live search, filter, analytics and remarketing, reviews with photos, microdata and social login. Install, pick colours and homepage blocks, and the store is selling with PageSpeed 90+ on day one.
First 100 buyers: $30 instead of $200.
Follow our channel: t.me/ocboxchannel
Характеристики
-
Recently Browsing 0 members
- No registered users viewing this page.
