Fasten your seat belt! Enjoy cache in Osclass!


What’s in Osclass version 3.4, that is new, awesome and will help you increase your response time up to 30%?  Yes, you’ve guessed it. It’s cache!
With this new Osclass version, you can now enjoy cache and get a faster page loadingincrease search engines’ ratings and enhance user’s experience, thus increasing the number of pageviews.

Note that this post is slightly technical, but we’ll try to unravel all the tech verbiage for you.

Osclass and cache
Osclass 3.4 now allows different types of cache (apc and memcache).

What is cache? How does it work?
A website contains content which is dynamically generated. When a user browse through your website, he or she is launching queries to the website database. Some database queries i.e. filtered searches are usually costly and recurrent operations, so why repeat the most common queries if we already know the results?

A cache, in web applications terms, stores files (objects, costly operations’ results,etc.) in order to lower the bandwidth, server loading and download delay.

As we’ve mentioned before, in your Osclass website there are certain costly operations, such as complex database queries. The result of these complex actions is stored in cache so the server doesn’t need to generate the data again. These data are returned from the cache instead of making a query to the database. This implies a drastic improvement in website loading and response time, allowing to support more visitors to your site.

Here’s a comparison of server response time on an Osclass website with thousands of listings, with and without cache.

Want to know how does cache affect an Osclass site? Check out this performance testing.

Cache consists of stored data/information which is available through a unique key which is associated to a value. Each key+value stored in the cache has a limited amount of seconds of “lifetime”. This lifetime defines the validity of the data.

Key + Value + Lifetime (seconds)

Let’s see an example:

  • The active category list is usually static so we’ll usually a longer lifetime. In this case, we can set a 7 days lifetime, for example.
  • The  latest listings list is usually more dynamic as we receive many new listings daily and want data to be updated frequently. For example, if we choose to set a 10 min lifetime to the latest listings list, this will be the frequency in which your listings will be updated.

Got any question? You can always consult our forums or drop a line to us.

Posted in Development, Releases | Tagged , , , , , , | Leave a comment

Osclass 3.4 RC – Help us testing!

As promised some time ago, we have Osclass 3.4 release candidate ready for download!

IMPORTANT! As always, we don’t recommend you to run the installation on a production website to test it, once we make sure there are no bugs the new official version will be released in the following days.

Osclass 3.4 RC highlights:

  • Extensible cache support (memcache, APC,…)
  • License change to Apache 2.0
  • Some sql optimizations (categories, users, premium)
  • User based subdomains
  • Child theme support
  • Emails filters with more variables added
  • UI fixes and improvements in admin
  • Imagemagick issues fixed
  • Minor bug fixes and improvements

Download Osclass 3.4 RC 


Help us improve Osclass!

Remember this is a pre-release version and while we work hard to make it bug-free, we could have missed some.
Feel free to comment here if you find one, you could also contribute with code changes to our git repository.



Posted in Development | 5 Comments

New language! Enjoy Osclass in Vietnamese!

Vietnamese lang pack

Osclass doesn’t stop growing in spoken languages!

Thanks to our awesome community of users, you can now enjoy Osclass entirely in Vietnamese!
You can download this and other languages on our Market.

Want to help us translating Osclass into your favourite language?
Sign up and start translating!

Posted in Languages | Tagged , , , , | Leave a comment

Share your themes and plugins!

Good news for Osclass developers!

Have you designed a great Osclass theme or plugin and want to share it to the whole Osclass community?
Now with Osclass you can gain more exposure for your creations! Contact us in our new Developers page and tell us about your work. Our team will review and upload your theme or plugin to the Market, and your developments will be available on all Osclass installations.


What are you waiting for? We are looking forward to seeing your awesome work!

Posted in Development, Plugins, Themes | Tagged , , , , | Comments Off

New language! Osclass now in Catalan!

Screenshot 2014-05-28 13.23.55

Thanks to our awesome community of users, you can now enjoy Osclass entirely in Catalan! You can download this and other languages on our Market section.

Want to help us translating Osclass into your favourite language?
Sign up and start translating!

Posted in Languages | Tagged , , | Comments Off