• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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