OkayCMS Caching Setup
8 reviewsCaching for OkayCMS, which has no cache layer in its core: web server page cache, image cache, invalidation and the exclusions that matter. From 1,500 UAH.
Service
OkayCMS caching setup
A platform specific: the core has no cache layer. This is not a checkbox in the admin — every page is assembled from database queries each time. While there are a few hundred products that goes unnoticed; at tens of thousands it becomes the main constraint.
What can be done
- Web server level caching — a finished page is served without touching PHP or the database. The biggest effect for anonymous visitors and crawlers;
- object caching through an external solution, where the project structure allows;
- image caching: thumbnails generated once rather than on every request;
- browser caching for static assets through correct headers;
- invalidation rules — so a shopper does not see an old price after you change it.
The main trap
Page caching cannot be switched on blindly. The cart, account area and checkout must stay outside the cache — otherwise shoppers start seeing each other's carts. So configuration always comes with a list of exclusions and a verification pass.
The most noticeable win
Usually image caching. The classic situation: the site becomes slow at moments when there are few visitors — because a search crawler arrived and made the server generate hundreds of thumbnails at once.
Before and after
- Every page is assembled from database queries each time — the core has no cache layer
- At tens of thousands of products, this becomes the main constraint
- A search crawler makes the server generate hundreds of thumbnails at once, and the site slows down
- Web server level caching: a finished page is served without touching PHP or the database
- Thumbnails generated once; browser caching for static assets through correct headers
- Cart, account area and checkout kept outside the cache; no stale prices after a change
Reviews (8)
5.0Робили нам «Налаштування кешування OkayCMS» — потрібен був CDN для статики. Все протестували перед тим як віддати. Результатом повністю задоволена.
Замовляв «Налаштування кешування OkayCMS» — хотів знизити навантаження на БД. Зробили бекап перед роботами — приємно, що подбали. Буду рекомендувати колегам.
Користувався послугою «Налаштування кешування OkayCMS»: боявся, що кеш зламає кошик. Видно, що людина глибоко розуміється на OpenCart. Зробили бекап перед роботами — приємно, що подбали. Звернусь ще раз із наступними задачами.
Брав «Налаштування кешування OkayCMS» для свого проєкту. Магазин був повільний без кешу. Зробили бекап перед роботами — приємно, що подбали. Перед стартом детально пояснили що і навіщо. Результатом повністю задоволений.
Потрібна була послуга «Налаштування кешування OkayCMS», і боявся, що кеш зламає кошик. Ціна відповідала обсягу, прихованих доплат не було. Після здачі ще тиждень відповідали на дрібні питання. Дякую за якісну роботу!