I recently set up a static website using Virtualmin to showcase restaurant menus — mostly text, images, and a bit of JS/CSS. The site doesn’t need a CMS or database, just clean performance and good SEO handling.
I’m curious what best practices you’d recommend for this type of lightweight deployment in Virtualmin? Anything I should tweak in Apache/Nginx config for better performance, or perhaps optimize caching headers?
Performance for static sites should never be an issue on modern hardware. Apache or nginx can serve thousands of requests per second of static assets. But, if you do have problems, you’re certainly welcome to ask questions.
I’ve wrapped your link in backticks (`) to prevent it from triggering the spam filter.
Since you have specified static site, we will further assume that the pages are HTML, not PHP. In addition to everything that @Joe and @shoulders said, you could configure Virtualmin to boost the performance of serving static pages via:
Virtualmin → Web Configuration → PHP Options and set execution mode to disabled.
I know the OP did not post the required SYSTEM INFORMATION so we do not know what webserver is being used, but it has to be assumed/guessed that Apache is being used as .htaccess is of no use in an Nginx webserver.
that site is still a wordpress site..so seo could be handled by any number of plugins and the appropriate expertise..;disabling php execution would take the site down…also modifying your htaccess file would not go well either.
I suspect this thread is actually spam to try to get backlinks to OPs website, since nothing really adds up (they don’t appear to be running Virtualmin, it’s not a static site as claimed, and the questions are vague and not really relevant to Virtualmin).
So, I’m gonna remove all mentions of the link. If OP has actual questions, they can ask them.