• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Pagespeed - shared memory metadata cache (shm)

Servus

Basic Pleskian
Hi,
I've read the whole pagespeed documentation over a hundred times and some points I do not understand, or I don't know how to realize them.
I tested pagespeed in various configurations with redis, memcached and tmpfs. Only one time the /rname/ directory was created, I think it was together with redis.

I'm not able to create the shm cache properly. Would be great if someone could help me to configure it correctly.
Where and how do I have to place this? (I put it in /etc/nginx/nginx.conf, but I can't put the vhost part there):

Code:
pagespeed CreateSharedMemoryMetadataCache "/var/cache/pagespeed/" 51200;
server {
  listen 80;
  server_name www.example.com;
  pagespeed FileCachePath "/var/cache/pagespeed/";
}
server {
  listen 80;
  server_name alt.example.com;
  pagespeed FileCachePath "/var/cache/pagespeed/";
}

The first part
Code:
pagespeed CreateSharedMemoryMetadataCache "/var/cache/pagespeed/" 51200;
I can only place in /etc/nginx/nginx.conf (in additional nginx directives it's not possible).
How and where shall I place the rest? Do I have to create a custom vhost config? Please, could you tell me how if so?

Kindest regards
 
Back
Top