Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/www/domains/hppgallery_com/design/defaulttheme/tpl/pagelayouts/main.php on line 59

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/www/domains/hppgallery_com/design/defaulttheme/tpl/pagelayouts/main.php on line 59
Sunday, October 22, 2017
 

ETag based caching

 To enabled this feature you have to edit settings.ini.php file and enabled ETag caching option.

ETag caching by default is turned off:

'etag_caching_enabled' => false,

 

Enabled ETag based caching settings looks like:

'etag_caching_enabled' => true,

Cached parts

ETag based caching works on these pages:

  • Album listing pages
  • Last hits
  • Popular images
  • Top rated
  • Last uploads
  • Last commented

All other pages do not use ETag based caching because of complexity, but in the future more windows will be cached using ETag based cache.

Important - ETag feature works correctly only then gallery is using memcached or APC. Otherwise it won'nt be able to generate correct cache keys.

Back »

Comments: 0

Leave a reply »

 
  • Leave a Reply
    Your gravatar
    Your Name
     
     
     
     
 
About HPPG

High performance photo gallery dedicated for large numbers of image storage.

Get in touch

Donate



Download