Osclass Cache Plugin Guide: Faster Pages and Lower Server Load
How static page caching works in Osclass, where it helps most, and what to monitor to avoid stale content issues.
Quick overview
How static page caching works in Osclass, where it helps most, and what to monitor to avoid stale content issues.
What this article covers
- Core setup steps and prerequisites
- Key implementation details
- Common pitfalls and validation checks
Practical notes
- Validate changes in staging before production updates.
- Track user impact with analytics, logs, and search performance signals.
Cache plugin for Osclass is there! We have just released Cache Osclass Plugin that helps you to improve speed of your osclass classifieds.
- perfect for websites with lot of listings/users and a lot of plugins activated
- generates static html files for each site / combination of parameters and reuse these files for other visitors
- auto-renewal and auto-purge of cache options available
- cache for logged-in users available as well
So how does it work? It's very simple at all, when you open i.e. home page, at very beginning plugin checks if cache is generated for your request.
- if yes, html cache file is shown and execution of script stopped
- if no, html cache file is generated and shown on next load
This is perfect solution in case you use plugin that i.e. has a lot of queries to database to get all the data or your server is not performing too well. To optimize site even more, plugin provides option to gzip and compress cache files to reduce space on server as well as size of request that leads to faster rendering. Better load speed == faster site == better seo == more visitors == more income.
Feel free to test plugin on our demo sites!
View osclass cache plugin
For CWV context read our full speed guide and CSS and JavaScript optimization.
Frequently asked questions
Question: How does OsclassPoint Cache plugin HTML cache work on the home page?
Answer: OsclassPoint Cache plugin checks for a static HTML file for that URL and parameter set at the start of the request. On a hit it serves the file and stops PHP. On a miss it generates the file for the next visitor. Gzip can shrink those files on disk.
Question: Can Osclass Cache plugin cache pages for logged-in users?
Answer: Cache plugin can store HTML for logged-in users when that option is enabled, with separate files so a guest does not see an account bar. Enable logged-in caching only when pages do not expose user-specific data that could be cached incorrectly. Purge after listing or plugin changes.
Question: What is the difference between Osclass object cache and full-page HTML cache?
Answer: Object cache (OSC_CACHE, Redis, Memcache) stores selected data Osclass asks the cache layer for, and SQL can still run. OsclassPoint Cache plugin stores full HTML per URL and can skip PHP on a hit. They are not the same setting. HTML cache is the plugin; object cache is config.php.
Question: Why does Osclass Cache plugin help when a plugin runs heavy SQL?
Answer: Cache plugin serves static HTML and stops PHP, so a plugin with many database queries does not run on a cache hit. That helps a slow host or a large catalog. It is not OSC_CACHE memcache and it is not Osclass 8.1 Redis object cache. Purge after you change listings.
About the Author
My passion is building classifieds marketplaces, automating workflows, and turning messy data into useful products. From PHP, HTML, CSS, and JavaScript to Python, crawlers, imports, and SEO, I enjoy solving technical challenges and sharing lessons learned from real-world projects. Most ideas start with a problem, a cup of coffee, and a curiosity to see how far automation can go.
Osclass, PHP, JavaScript, CSS, Python
52 posts
Publishing since 04/2018
Account license types
Available license types:
-
Single License
Use on 1 website domain.
The Single Site License allows you to use the product on 1 domain only. This license is intended for individual website owners or single-project installations.
-
Extended License
Use on up to 20 website domains.
The Extended License allows usage of the product on up to 20 domains under a single account. This license is intended for agencies and businesses operating multiple installations. Pricing is calculated as 3x the base product price.
Product pricing is calculated as 3x the base product price.
Account License Types
Your account license type determines how many domains you can use purchased products on. It is applied account-wide, affecting all products you buy under this account.
Changing License Type
You can change your account license type only if you have no active orders or support subscriptions. This means you must not have purchased any product in the last 365 days. Once a product has been purchased, your account license type cannot be changed again.
Impact on Product Pricing
Changing your account license type updates the price of products visible on the page according to the license multiplier. Higher-tier licenses for multiple domains increase the product price accordingly.
Domain Usage
Your license grants the right to use purchased products on the number of domains allowed by your license type — 1 domain for Single Site, up to 5 domains for Extended, or up to 20 domains for Enterprise.
Resale Restrictions
The license does not give you rights to resell the product. It is intended solely for use on your registered domains.
Cookie Preferences
This website uses its own and third-party cookies to improve our services and show you advertising related to your preferences by analyzing your browsing habits. To give your consent to its use, press the "Accept all" button.
Read more.
This website uses its own and third-party cookies to improve our services and show you advertising related to your preferences by analyzing your browsing habits. To give your consent to its use, press the "Accept all" button.
Read more.
Functional cookies are strictly necessary to provide the services of the classifieds, as well as for its proper functioning, so it is not possible to refuse their use. They allow the user to browse through our website and use the different options or services that exist on it.
Collect information about the user's browsing experience in the classifieds, usually anonymously, although sometimes they also allow the user to be uniquely and unequivocally identified in order to obtain reports on the user's interests in the products or services offered by the classifieds.
These are used to improve the browsing experience and optimise the operation of the classifieds.
These are cookies without a clear purpose or those that we are still in the process of classifying.