Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 11:56:53

Author Topic: Disk cache with Apache  (Read 3831 times)

0 Members and 1 Guest are viewing this topic.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Disk cache with Apache
« on: 2015-11-11, 11:04:50 »
Possible to use https://httpd.apache.org/docs/2.4/mod/mod_cache_disk.html with Kloxo-MR and Apache?
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Disk cache with Apache
« Reply #1 on: 2015-11-11, 11:27:03 »
This module isn't built-in module. So, you need compile separatedly.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Disk cache with Apache
« Reply #2 on: 2015-12-09, 12:31:19 »
Are you sure? I think it's already there, just needs to be enabled. (Don't have time atm to verify, but will later next week).
See e.g http://www.serverlab.ca/tutorials/linux/web-servers-linux/improve-website-performance-by-enabling-caching-in-apache/

I think this is a critical part to speed up shared hosting such as Kloxo-MR.
And imagine if we can place the cache path on a fast SSD, it would really make a difference!
« Last Edit: 2015-12-09, 12:32:53 by fossxplorer (formerly 'Mella') »
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Disk cache with Apache
« Reply #3 on: 2015-12-09, 12:46:20 »
Better use mod-pagespeed in apache (optimize files), apc and memcached in php (code cached) and cache plugins in application (like hypercache in wordpress).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Disk cache with Apache
« Reply #4 on: 2015-12-09, 13:28:49 »
Mod-pagespeed is not supported by all PHP apps such as ownCloud. I do normally use PHP OPCache with APCu (for object caching), which i've found out gives best performance for couple of PHP apps i use.

But i've read that mod_diskcache in Apache is better than using the Wordpress caching plugins. It's due to the way Apache's disk cache is implemented (using sendfile API).
I'll hope to get some time to do some testings and post it here.
Kloxo-MR!

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.059 seconds with 18 queries.

web stats analysis