Performance Tuning

99 vues Markdown

A WISECP installation that feels slow is usually held back by one of a few things: caching turned off, an overloaded scheduler, records nobody cleans up, or PHP settings left at their defaults. Each has its own screen.

Opening the Screens

The settings that affect speed sit in three places: caching under Advanced Settings, scheduler and retention under Automation Settings on the System tab, and the measured state of the installation under System Health.

What Affects Speed

Cache (Memory System)Keeps repeated catalogue, menu and pricing results instead of rebuilding them per visit. The single biggest setting on a busy site.
PHP OPcacheA server setting rather than a panel one. It keeps compiled PHP in memory and is worth having on every installation.
Worker scalingHow much scheduled work runs at once. Too low and the queue falls behind; too high and the server competes with itself.
RetentionHow long finished job records, logs and temporary files are kept. Tables that grow forever make every list slower.

Tasks

Turn Caching On

  1. Open Advanced Settings and switch Cache (Memory System) on.
  2. Save, then load a catalogue page twice and compare how it feels.

Result: repeated queries are served from the cache instead of the database. Editing a product or menu clears what it affects, so the site does not serve stale content.

Match the Scheduler to the Server

  1. Open Automation Settings and go to the System tab.
  2. Look at the recent jobs list first. A queue that keeps up needs no change.
  3. Only if work is piling up, raise worker scaling one step and watch again.

Keep the Tables Small

Set retention on the System tab so finished job records and temporary files are cleared on a schedule. This is the difference between a panel that stays fast for a year and one that gets slower every month.

Things to Watch

Measure before you change anything

Raising worker scaling on a server that is already at its limit makes things worse, not better. Look at System Health and the recent jobs list first, change one thing, then look again.

Caching off is a development setting

It exists so a developer sees every change immediately. Left off on a live site it means every visitor pays for work that could have been done once.

"Slow panel" is often a missing cron job

When invoices, renewals or orders seem stuck, the problem is usually that scheduled tasks are not running at all rather than running slowly. Check that first; it costs a minute and rules out the most common cause.

Cet article vous a-t-il été utile ?

Merci pour votre retour !

Besoin d'aide supplémentaire ?

Notre équipe d'assistance est disponible 24h/24 pour tout ce que vous ne trouvez pas ci-dessus.