Support Center

Recent questions

About Koken

This Help Center provides support for Koken, a free content management system designed for photographers, artists and designers.

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Reducing cache size?

Patricio Murphy

Dec 11, 2017 09:48PM EST

The image cache seems HUGE, and with not that many images in my sites (www.patriciomurphy.com and www.murphy.com.ar) I'm always running short of storage space.
Is there a way to reduce the cache size in some way?

3 Community Answers

Answered

Team NetObjects

Dec 12, 2017 09:17AM EST

A key part of Koken involves image generation and caching. Koken creates images by using image processing software installed on your web server. This process takes your uploaded images and generates smaller versions for use inside Koken and on your public web site. A variety of image sizes are generated for optimum load times across all screen sizes (phones, tablets, desktops, etc). Once smaller versions of images have been cached, those cached versions are re-used for optimum speed and performance. A cached copy of an image is only generated again if you replace its original file with a new version.

Koken considers several factors when creating cached images, including the size the image will be displayed in your site theme and whether or not the end user is using a HiDPI (also known as “retina”) screen. In all, Koken has the potential to create 28 different caches for each image you add to your library. That’s a lot of images, and more than most shared web hosts can handle being requested all at once. To workaround that limitation, Koken creates most cached images on-demand as needed to avoid overloading your web server.

Also, try deleting the contents of the storage/cache/api folder via FTP and see if that helps.

View in conversation


Up 0 rated Down

Team NetObjects Koken Agent

Answered Dec 12, 2017 09:17AM EST

A key part of Koken involves image generation and caching. Koken creates images by using image processing software installed on your web server. This process takes your uploaded images and generates smaller versions for use inside Koken and on your public web site. A variety of image sizes are generated for optimum load times across all screen sizes (phones, tablets, desktops, etc). Once smaller versions of images have been cached, those cached versions are re-used for optimum speed and performance. A cached copy of an image is only generated again if you replace its original file with a new version.

Koken considers several factors when creating cached images, including the size the image will be displayed in your site theme and whether or not the end user is using a HiDPI (also known as “retina”) screen. In all, Koken has the potential to create 28 different caches for each image you add to your library. That’s a lot of images, and more than most shared web hosts can handle being requested all at once. To workaround that limitation, Koken creates most cached images on-demand as needed to avoid overloading your web server.

Also, try deleting the contents of the storage/cache/api folder via FTP and see if that helps.

Up 0 rated Down

Patricio Murphy

Dec 12, 2017 03:36PM EST
Thank you very much!
I previously tried from the Admin CP but it was a nightmare, FTP worked just fine.
But, if I understand it, Koken will cache the images again as needed, am I wrong? That would mean every now and then I'll have to do this deleting through FTP?
Up 0 rated Down

Team NetObjects Koken Agent

Dec 12, 2017 03:38PM EST

The image cache is different from the API cache. You’ll need to purge the API cache periodically. The image cache shouldn’t be deleted unless there’s a problem.

This question has received the maximum number of answers.

support@koken.me
http://assets1.desk.com/
false
koken
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete