Title: WP-Optimize – Cache, Compress images, Minify &amp; Clean database to boost page speed &amp; performance
Author: David Anderson / Team Updraft
Published: <strong>21 de Xaneiro, 2009</strong>
Last modified: 25 de Marzo, 2026

---

Buscar plugins

![](https://ps.w.org/wp-optimize/assets/banner-772x250.png?rev=2125385)

![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)

# WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance

 Por [David Anderson / Team Updraft](https://profiles.wordpress.org/davidanderson/)

[Descargar](https://downloads.wordpress.org/plugin/wp-optimize.4.5.1.zip)

 * [Detalles](https://gl.wordpress.org/plugins/wp-optimize/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/wp-optimize/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/wp-optimize/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/wp-optimize/#developers)

 [Soporte](https://wordpress.org/support/plugin/wp-optimize/)

## Descrición

MORE THAN A CACHING PLUGIN

**[WP-Optimize](https://www.teamupdraft.com/wp-optimize?utm_source=wpo-wp-dir&utm_medium=referral&utm_campaign=plugin-dir&utm_content=wp_optimize&utm_creative_format=description)
is trusted by more than 1 million WordPress website** owners to **boost performance**
and **reduce page load times** to improve your site’s **user experiences** and **
SERP rankings in Google.**

It does this in four clever ways:

**1. It caches your site**

Caching is the process of storing a temporary HTML version of your site on the server
so it can be retrieved more quickly for the user.

It’s a sure-fire way to ensure web pages load at lightning-fast speed. Turn it on
in just one click.

**2. It compresses images**

Large images can really impact page speed load times. WP-Optimize makes it easy 
to identify and compress images to your preferred lossy / lossless settings in a
couple of clicks.

**3. It cleans the database**

Your WordPress database stores everything that you need, plus some things that you
don’t. WP-Optimize cleans and optimizes the database to speed up your site and save
server resources.

**4. It minifies**

On top of its three main features, WP-Optimize Cache also has the more advanced 
minification feature.

Together with caching, minification dramatically improves performance and page speed
load time.

### 1. CACHE YOUR SITE

**Turn on caching in just one click:**

WP-Optimize automatically and optimally configures itself for your WordPress site.
Turn it on in one-click or refine its settings if you prefer.

**More cache features:**

 * **Cache preloading:** This feature emulates a visit to your site, meaning cached
   files are served straight away, speeding up your site from the very first visit.
 * **GZIP Compression:** When the server isn’t configured to do so, WP-Optimize 
   delivers HTML, CSS and JS files to the user’s browser as smaller, compressed 
   files, reducing the size of pages and style sheets by up to 90%!
 * **Preload key requests:** Recommended by Google to improve page speed times. 
   Critical resources (things like font files) get loaded first, so the page loads
   much faster **[Premium]**.

**Use cache settings to:**

 * **Serve cached content to logged in users:** Turn this on if content stays the
   same for logged in users (or turn on and exclude URLs where content does change
   e.g. my account areas).
 * **Exclude content from cache:** Exclude by URL, conditional tags, browser agent
   strings or list cookies that should prevent caching when set (advanced user settings).
 * **Deliver device-specific cache:** Serve separate cache files to desktop and 
   mobile devices . This ensures that responsive features e.g. desktop and mobile
   menus are cached separately and served correctly.
 * **User per role cache:** Useful if your website delivers different content to
   different user roles. e.g. an e-commerce site that displays different content
   to resellers or consumers **[Premium]**.
 * **User specific cache:** Serves separate cache files to individual users. Useful
   for websites with personalised content e.g. Learning management systems **[Premium]**.
 * **Cache purging permissions:** Select which user roles are allowed to purge the
   cache e.g. admin only or perhaps a ‘teacher’ role in an LMS setting only **[Premium]**.

### 2. COMPRESS IMAGES

 * **Lossy or lossless compression options:** Choose between maximum space saving,
   best image quality or somewhere in-between.
 * **WebP conversion:** Recommended by Google, WebP can achieve up to 34% smaller
   file sizes compared to JPEG and up to 26% compared to PNG.
 * **Auto-compress:** Check a box and every new image you upload will automatically
   be compressed to your preferred lossy / lossless settings.
 * **Bulk compression:** Compress every existing image on your site with the press
   of a button.
 * **Restore original:** Gone too far? Revert images back to their original in one
   click.
 * **Retain EXIF image data:** Check a box to retain EXIF image data during compression.
 * **Lazy Load:** Webpages load much faster by loading web parts gradually, when
   they’re needed vs simultaneous loading of everything, all at once **[Premium]**.
 * **Delete orphaned images:** Identify and delete unused images from your WordPress
   website, saving disk space **[Premium]**.
 * **Delete unused image sizes:** WordPress creates multiple sizes for every uploaded
   image causing the uploads folder to become bloated. Scan for image sizes not 
   in use and remove them to save further disk space **[Premium]**.

### 3. CLEAN AND OPTIMIZE THE DATABASE

Cleans-up database tables, post revisions, auto draft posts, trashed posts, spam,
trashed comments and more. Choose what to optimize or it’s one click to clean out
the lot.

 * **Schedule clean-ups:** So you can set and forget. Choose from daily, weekly,
   fortnightly or monthly.
 * **Flexible clean-up schedules:** You may wish to optimize database tables more
   frequently than you remove unapproved comments (for example). Choose the specific
   time and day when tasks should run **[Premium]**.
 * **Retain a set number of weeks’ data during clean-ups:** Just in case you need
   to retrieve something.
 * **Back up before clean-ups:** If you delete something you shouldn’t, restore 
   it in a couple of clicks with UpdraftPlus.
 * **Power tweak – Turbo boost for WooCommerce:** Unique to WP-Optimize, this power
   tweak boosts performance by replacing a slow query in WooCommerce with two much
   more efficient queries. E-commerce sites transacting high numbers of orders stand
   to gain here **[Premium]**.
 * **Power tweak – Boost performance by indexing the postmeta table:** This unique
   power tweak works by allowing the WordPress postmeta table to be indexed, improving
   performance **[Premium]**.

### 4. MINIFY AND COMBINE HTML, CSS AND JAVASCRIPT

 * **Minify in just one click:** Minifies HTML, JavaScript and CSS. Toggle on or
   off or customise each one under ‘settings’.
 * **Customise minification:** Minify only (removing unnecessary code e.g line breaks
   and white spacing) or minify and merge. Apply the same or different settings 
   to HTML, CSS and JavaScript.
 * **Asynchronous loading:** Choose non-critical CSS and JavaScript files to load
   in the background and independently of other resources e.g. analytics or pixel
   scripts. Loading asynchronously eliminates render blocking and improves page 
   speed.
 * **Exclude files from being minified:** Specify CSS and JavaScript files to exclude
   from minification.
 * **Optimize fonts:** Optimize Font Awesome and Google Fonts. Inline the font files,
   inherit from CSS settings or load CSS / Javascript asynchronously instead.
 * **Preload assets:** WP-Optimize visits each web page on your site so the code
   is minified and preloaded for real life users, right from their very first visit.
 * **Preload key requests:** Recommended by Google to improve page speed times. 
   Critical resources (things like font files) get loaded first, so the page loads
   much faster.

### WHY WP-OPTIMIZE?

 * It’s brought to you by [TeamUpdraft](https://www.teamupdraft.com?utm_source=wpo-wp-dir&utm_medium=referral&utm_campaign=plugin-dir&utm_content=teamupdraft&utm_creative_format=description),
   the team behind the world’s most trusted backup, migration and restoration plugin.
 * It’s easy to use.
 * It packs a punch for a free plugin.

WP-Optimize reúne a mellor tecnoloxía de optimización e caché nun único complemento
perfecto para que o teu sitio WordPress sexa rápido, delgado e eficiente.

### PREMIUM FEATURES AT A GLANCE

Our free version of WP-Optimize Cache is great, but we also have an even more powerful
[Premium version](https://www.teamupdraft.com/wp-optimize/pricing?utm_source=wpo-wp-dir&utm_medium=referral&utm_campaign=plugin-dir&utm_content=premium_version&utm_creative_format=description)
with extra features that offer the ultimate in freedom and flexibility:

 * **Soporte multisitio:** estende as optimizacións da base de datos para que funcionen
   para múltiples sitios WordPress á vez. Se administras máis dun sitio web, necesitarás
   WP-Optimize Cache Premium.
 * **Flexibilidade e control:** permítelle optimizar táboas individuais seleccionadas
   ou unha combinación particular de táboas nun ou máis sitios web de WordPress,
   en lugar de ter que optimizar todas as táboas da base de datos.
 * **Eliminar imaxes non utilizadas e non desexadas:** elimina as imaxes orfas do
   seu sitio de WordPress, ademais de imaxes dun certo tamaño predefinido.
 * **Programación sofisticada:** ofrece unha ampla gama de opcións para programar
   a optimización automática. Especifique unha hora exacta e realice limpezas diarias,
   semanais, quincenais ou mensuais e realice calquera cantidade de optimizacións
   adicionais.
 * **Interface gráfica de usuario sen interrupcións:** para unha excelente claridade
   na programación e administración de optimizacións de sitios múltiples.
 * **Compatibilidade con WP-CLI:** proporciona unha forma de administrar optimizacións
   desde a interface de liña de comandos se ten moitos sitios
 * **Carga diferida:** cargue só as imaxes e parte dunha páxina web cando sexa visible
   para o usuario para que poida ver algo moi rapidamente.
 * **Vista previa de optimización:** ofrece aos usuarios a capacidade de obter unha
   vista previa, seleccionar e eliminar datos e rexistros dispoñibles para a optimización
   da base de datos.
 * **Preload key requests:** preload assets such as web fonts and icon fonts, as
   recommended by Google PageSpeed Insights.
 * **Soporte Premium**: o almacenamento en caché é unha das cousas máis complexas
   que podes facer para un sitio web, polo que a asistencia premium ofréceche tranquilidade,
   hai alguén con quen falar rapidamente se necesitas respostas técnicas ou axuda
   para configurar as optimizacións de configuración da caché para o seu sitio web.

#### Traducións

Os tradutores poden contribuír ao plugin. Utilice o [sitio web de tradución de WordPress](https://translate.wordpress.org/projects/wp-plugins/wp-optimize).

## Capturas

 * [[
 * Cache – plugins comparison benchmark
 * [[
 * Optimización de bases de datos
 * [[
 * UpdraftPlus executa unha copia de seguridade antes de que continúe unha optimización
 * [[
 * Informe da táboa
 * [[
 * Compresión de imaxe
 * [[
 * Pantalla principal de caché

## Instalación

Hai 3 formas diferentes de instalar WP-Optimize Cache, como con calquera outro plugin
de wordpress. org.

#### Usando o panel de WordPress

 1. Vaia a ‘Agregar novo’ no panel de plugins
 2. Busque ‘WP-Optimize’
 3. Faga clic en ‘Instalar agora’
 4. Active o plugin no panel de Plugins

#### Subir no Panel de WordPress

 1. Descargue a última versión deste plugin desde https://wordpress.org/plugins/wp-
    optimize/
 2. Vaia a ‘Agregar novo’ no panel de plugins
 3. Navega ata a área ‘Cargar’
 4. Seleccione o arquivo zip (do paso 1) da súa computadora
 5. Faga clic en ‘Instalar agora’
 6. Active o plugin no panel de plugins

#### Usando FTP

 1. Descargue a última versión deste plugin desde https://wordpress.org/plugins/wp-
    optimize/
 2. Descomprima o arquivo zip, que extraerá o directorio wp-optimize na súa computadora
 3. Suba o directorio wp-optimize ao directorio /wp-content/plugins/ no seu espazo 
    web
 4. Active o plugin no panel de plugins

## Preguntas frecuentes

### Non é mellor usar un plugin de almacenamento en caché dedicado para almacenar en caché o meu sitio?

Creamos WP-Optimize Cache ao redor da tecnoloxía de cacheado máis avanzada e potente.
As nosas probas de cacheado e os comentarios dos usuarios reais mostran que a característica
de cacheado só pode facer o teu sitio máis rápido que calquera outro plugin de cacheado
ou optimización. [ Ve estes resultados de probas de velocidade.](https://ps.w.org/wp-optimize/assets/screenshot-1.png?rev=2125386)

### É seguro optimizar a miña base de datos?

Se; optimizar non implica ningún “truco” ou furgar de maneira perigosa. Implica 
executar operacións de limpeza de rutina utilizando comandos MySQL comúns ben definidos.**
Con todo, sempre recomendamos copias de seguridade**, que cobren todas as posibilidades;
non só mal funcionamento da base de datos, senón tamén piratas informáticos, erros
humanos, etc. Recomendamos [UpdraftPlus](https://wordpress.org/plugins/updraftplus/).

### Que aforros podo esperar facer?

Este é un “canto dura a cadea?” tipo de pregunta Depende completamente do seu sitio:
que tan grande é, cantos usuarios interactúan nel, canto tempo leva funcionando 
e cando o optimizou por última vez. Con todo, os aforros e as aceleracións poden
ser substanciais; Sempre vale a pena asegurarse de que a súa base de datos estea
optimizada.

### Como podo obter axuda?

No noso foro de soporte, aquí: https://wordpress.org/support/plugin/wp-optimize/

### WP-Optimize non xera grandes aforros na miña base de datos

Isto é raro; probablemente sexa porque estás cunha empresa de hospedaxe web compartida
que non permite que os scripts executen un comando de optimización mediante instrucións
SQL (instrución SQL “OPTIMIZE”). Consulte a súa empresa de hospedaxe web sobre este
asunto.

### Probouse e someteuse a probas o plugin?

Si – WP-Optimize Cache é o complemento de optimización # 1 máis instalado de WordPress,
con máis de 800,000 usuarios e un pedigrí que se remonta a máis de 8 anos.

### WP-Optimize admite táboas InnoDB?

WP-Optimize deshabilitará algunhas funcións se detecta táboas InnoDB. A optimización
das táboas da base de datos no disco non está dispoñible, pero outras funcións de
limpeza funcionarían.

### Pódenme axudar a restaurar a miña base de datos?

Non, a menos que teña unha copia de seguridade existente. Asegúrese de facer unha
copia de seguridade de toda a súa base de datos antes de usar WP- Optimize por primeira
vez, e cando actualice a unha nova versión importante da mesma. Nós recomendamos
[UpdraftPlus](https://wordpress.org/plugins/updraftplus/).

### Hai algún erro neste plugin?

O plugin é un traballo continuo; iso significa que é imposible descartar situacións
imprevistas e erros. Por tanto, recomendaríalle que o probe no seu sistema local
ou faga unha copia de seguridade da súa base de datos (só para ter máis coidado).

### Como evito que as opcións transitorias volvan automaticamente cada vez que as borro?

Cando WordPress usa un transitorio determinado, ese transitorio específico volve
crearse automaticamente. Entón, normalmente é para os que están en uso activo para
volver aparecer gradualmente. A mellor forma de manter as cousas óptimas é borrar
as opcións transitorias de forma programada. Por exemplo, WordPress pode crear 50
opcións transitorias nunha semana. Se programas WP-Optimize Cache para borrar estas
opcións semanalmente, terás moito menos acumulado.

### O tamaño da táboa mostra incorrecto / Non optimizando

Por favor revise a súa base de datos para as táboas corruptas. Iso pode suceder,
polo xeral, a súa empresa de aloxamento web pode executar o comando de reparación
na base de datos.

### Que versións de WordPress e PHP son compatibles?

Para usar todas as funcións no plugin, requírese unha versión mínima de WordPress
4.9 con PHP 7.2. Pero recomendamos usar a última versión de WordPress. Tamén se 
recomenda utilizar PHP 7.2+, xa que a nosa característica de caché funcionará aínda
máis rápido.

### Que optimización fará a maior diferenza?

Isto depende da súa configuración (tema, número e calidade dos plugins utilizados,
etc.), pero en xeral, o almacenamento en caché fará a maior diferenza visible para
o rendemento do seu sitio web. De feito, a funcionalidade de caché omite a maior
parte do código de WordPress para servir as súas páxinas en caché previamente optimizadas
directamente ao seu visitante, o que aumenta significativamente a velocidade.

### Que é o almacenamento en caché ou o almacenamento en caché de páxinas?

_“Almacenamento en caché”, de Wikipedia:_ “En informática, un caché é un compoñente
de hardware ou software que almacena datos para que as solicitudes futuras deses
datos poidan ser atendidos máis rapidamente; os datos almacenados nun caché poderían
ser resultado dun cómputo anterior ou unha copia de datos almacenados noutro lugar.
Prodúcese un acerto de caché cando os datos solicitados pódense atopar nun caché,
mentres que se produce un fallo de caché cando non pode “. – A caché de WP-Optimize
fai isto ao gardar a páxina calculada por WordPress no disco. Cando un usuario visita
unha páxina, WP-Optimize servirá a páxina en caché antes de que se cargue WordPress.
Se a páxina non se almacenou en caché antes, WordPress a xera e WP-Optimize gardará
o resultado na caché.

### Por que debería usar un complemento de almacenamento en caché no meu sitio web?

Crees que o teu sitio é rápido sen almacenamento en caché? Un plugin de almacenamento
en caché fará que o seu sitio web sexa aínda máis rápido. Un sitio web en caché 
máis rápido aumentará o SEO, mellorará a experiencia dos seus visitantes. O almacenamento
en caché tamén aforrará os recursos do seu servidor.

### É compatible o caché de páxina WP-Optimize con Gutenberg e WordPress 5.0+?

Si, as súas páxinas de Gutenberg almacenaranse en caché, así como as creadas con
plugins de creación de páxinas como Elementor.

### Como sei que a miña páxina web está a almacenarse en caché (ou por que non)?

If cache is enabled, and in order to see if your page is cached, use the “View Source”
function in your web browser to view the page source. To find caching information,
scroll down to the bottom, and you should see a line added by the cache: `<!-- Cached
by WP Optimize - https://teamupdraft.com/wp-optimize/ - Last modified: Sat, 20 Jul
2019 21:17:19 GMT ->`
 However, note that if you are using a further service that
minifies HTML (e.g. Cloudflare), then this line may have been removed. Another method
is to inspect the contents of the directory wpo-cache inside your wp-content directory.
<a href=”https://teamupdraft.com/documentation/wp-optimize/topics/caching/faqs/how-
do-i-know-my-webpage-is-being-cached/>Further information can be read here Also 
note that if you do not preload the cache, a page or post will have to be visited
once for the cache file to be generated.

### Como configuro o caché da páxina?

Go to WP-Optimize -> Cache and enable caching. For most people, that will be enough.
If you run an e-commerce, have a custom login page or any page that has dynamic 
content, you might want to exclude certain urls from the cache. Visit [documentation](https://www.teamupdraft.com/documentation/wp-optimize?utm_source=wpo-wp-dir&utm_medium=referral&utm_campaign=plugin-dir&utm_content=documentation&utm_creative_format=faqs)
for help.

### A función de almacenamento en caché é compatible cos plugins de comercio electrónico?

Si, o cacheado con WP-Optimize Caché permíteche cachear de forma segura os teus 
produtos, con plugins como Woocommerce ou Easy Dixital Downloads, ou calquera comercio
electrónico que use `DONOTCACHEPAGE` para excluír páxinas sensibles do cacheado (
por exemplo, a miña conta, carriño ou páxinas de pago).

### Is the caching feature compatible with multilingual plugins?

Yes, WP-Optimize works with popular multilingual plugins like WPML or Polylang. 
However, it’s important to note that when using WP-Optimize with multilingual plugins,
the URL format for different languages should not include any query parameters, 
for example `https://example.com/?lang=en`. Instead, it should be in a pretty permalink
format, such as `https://example.com/en`.

### Necesito unha configuración especial para usar a función de almacenamento en caché?

Non, se WordPress funciona correctamente, WP-Optimize poderá almacenar en caché 
as súas páxinas e publicacións.

### Podo usar a función de almacenamento en caché de páxina xunto con outro plugin de caché?

Non, porque ambos plugins de caché necesitarían usar o plugin despregable `advanced-
cache.php`. Se desactivas o cacheado en WP-Optimize Cache, podes usar calquera outro
plugin de cacheado e aínda usar as outras características de WP-Optimize. Pero recomendamos
utilizar a nosa solución de cacheado.

### É compatible o almacenamento en caché de WP-Optimize con Cloudflare?

Si! Non é necesaria unha configuración especial da caché. O almacenamento en caché
de páxinas no sitio WP (o feito por WP-Optimize Cache) é independente do almacenamento
en caché de proxy (por exemplo, Cloudflare): podes usar ambos, ou ningún, e complementaranse
e non interferirán. 
Só unha cousa a ter en conta: Cloudflare eliminará o comentario
HTML especial na parte inferior da fonte dunha páxina que é útil para confirmar 
que o caché da páxina está funcionando, polo que non te confundas: é a ausencia.
non indica que a caché non funciona.

### Podo baleirar o caché automaticamente ao realizar unha acción personalizada?

Si, podes activar unha acción de purga de caché utilizando as funcións públicas 
de WP-Optimize Cache. Se desexas baleirar toda a caché, usa a función `wpo_cache_flush()`.
Se desexas baleirar os arquivos da caché para unha páxina ou entrada específica,
usa `WPO_Page_Cache::delete_single_post_cache($post_ide);`. Esas opcións de caché
están dispoñibles despois da acción WP `plugins_loaded`.

### Funcionarán os comentarios mesmo cando o almacenamento en caché de páxinas estea habilitado?

Si, cando use o sistema de comentarios de WordPress, os seus usuarios aínda poderán
publicar comentarios. Cada vez que se aproba un comentario, o caché para esa páxina
ou publicación borrarase, permitindo que o próximo visitante vexa unha lista actualizada
de comentarios.

### Que é a “precarga de caché”?

Polo xeral, unha páxina almacénase en caché cando un usuario a visita. Por tanto,
o primeiro usuario que visite non recibirá unha versión en caché da páxina e esperará
máis que os seguintes usuarios. A funcionalidade de precarga de caché percorrerá
todas as súas páxinas e publicacións, e simulará unha visita dun usuario, permitindo
que WP-Optimize almacene en caché as páxinas antes de que alguén as visite. O seu
primeiro visitante recibirá unha versión en caché da páxina, aumentando o seu rendemento.

### Que frecuencia debo elixir para o programa de precarga de caché?

Elixir unha frecuencia para o programa de precarga de caché dependerá de factores
como a frecuencia coa que se actualiza o contido do sitio web, o número de páxinas
no caché, os recursos do servidor e máis.
 Por exemplo, un sitio con centos de páxinas
requirirá máis recursos para precargar o seu caché. Por tanto, elixir unha frecuencia
alta significará que a memoria caché volverá crear con frecuencia e o uso de recursos
será maior. Nun sitio web onde as actualizacións non son tan frecuentes, mesmo pode
deshabilitar a programación de precarga de caché, ou establecer unha vida útil de
caché alta e establecer a programación de precarga de caché para seguila.

### Como gardo en caché só a páxina de inicio?

Engade /.+ á opción de caché “URL para excluír da caché” na pestana de configuración
avanzada.

### Como evito que WP-Optimize Cache cachee unha páxina determinada

Para evitar que unha páxina sexa almacenada na caché, pode engadir o URL ao campo“
URL para excluír da caché” na pestana “Configuración avanzada” da caché. Se estás
a desenvolver un complemento e queres evitar que unha páxina sexa almacenada na 
caché, podes definir a constante “DONOTCACHEPAGE” nas páxinas que necesites. Calquera
solicitude onde se defina “DONOTCACHEPAGE” non se almacenará na memoria caché.

### A característica de almacenamento en caché de WP-Optimize é gratuíta?

Si, a función de almacenamento en caché é gratuíta. Sempre poderá almacenar en caché
o seu sitio web de forma gratuíta utilizando WP-Optimize e estamos a traballar constantemente
para mellorar a función de caché existente. Agregaremos máis opcións de almacenamento
en caché á versión gratuíta e desenvolveremos opcións de almacenamento en caché 
máis específicas na versión premium para permitirlle adaptar a funcionalidade de
almacenamento en caché ás súas necesidades.

### Onde almacena WP-Optimize Cache os arquivos en caché?

Os ficheiros almacenados en caché gárdanse no cartafol común “wp-content/cache”,
dentro dun cartafol “wpo-cache”. Ao eliminar o cartafol “caché” eliminarase toda
a caché de WP-Optimize, así como as doutros complementos.
 Borrar o cartafol “caché”
é xeralmente seguro, xa que eses ficheiros almacenados na caché rexeneraranse.

### Como desactivo o almacenamento en caché?

Vaia á configuración de WP-Optimize > Cache e activa/desactiva a opción “Activar
a caché da páxina”.

### O almacenamento en caché retardará o meu servidor?

Non, o almacenamento en caché en realidade reducirá a carga no seu servidor, ao 
reducir a cantidade de PHP e mysql utilizados. É posible que vexa un pico no uso
de recursos ao usar o precargador de caché, xa que esta funcionalidade creará os
arquivos de caché para todas as súas páxinas nun curto período de tempo. Pero unha
vez feito isto, o rendemento debería aumentar e a carga no seu servidor diminuirá.
Cada sitio principal utiliza o almacenamento en caché para servir as páxinas almacenadas
en caché máis rápido ao usar menos recursoss.

### Podo facer que certas partes da páxina permanezan dinámicas cando o caché está habilitado?

A páxina en caché envíase ao usuario antes de que se cargase a maior parte de WordPress.
Os plugins aínda non están cargados, polo que é imposible que cambien o contido 
almacenado en caché en cada solicitude.
 Por tanto, neste momento, se desexa manter
dinámicas partes da súa páxina (por exemplo, anuncios, widgets, carriño de compras…)
E mantela en caché, terá que usar solucións personalizadas usando JavaScript e AJAX
para obter esas partes dinámicas do servidor .

### Como elimino a definición de WP_CACHE de wp-config.php?

WP-Optimize Cache eliminará a constante “WP_CACHE” de wp-config.php cando desactive
o caché da páxina ou cando desactive o complemento da caché. Se precisa eliminalo
manualmente, pode usar FTP para editar wp-config.php e eliminar a liña define (‘
WP_CACHE’, true );
 Se o caché da páxina aínda está activado na configuración, WP-
Optimize Cache tentará engadir a liña de novo, xa que é necesario para que funcione
a función de caché.

### O meu sistema de arquivos non ten permiso de escritura para aumentar a seguridade. Que debo facer para que sexa compatible coa funcionalidade de almacenamento en caché?

A función de almacenamento en caché de WP-Optimize necesita acceso de escritura 
ao cartafol ‘wp-content/cache’, xa que é onde se almacenarán os ficheiros da caché.
Tamén precisa definir a constante ‘WP_CACHE’ en ‘wp-config.php’, necesitará acceder
unha vez a ‘wp-content/advanced-cache.php’, así como ao cartafol ‘wp-content/wpo-
caché’ para escribir a configuración da caché.

### Como cambio os permisos de arquivo?

Se necesita cambiar os permisos de arquivo para activar o almacenamento en caché,
pode seguir as instrucións nesta páxina https://wordpress.org/support/article/changing-
file-permissions/

### Cal é o número máximo de páxinas que podo almacenar en caché?

Non hai límite para a cantidade de páxinas que pode almacenar en caché. O único 
límite é o espazo no seu servidor e o número máximo de subdirectorios permitidos
polo seu servidor, xa que o almacenamento en caché escribirá arquivos en subdirectorios
seguindo a estrutura de ligazón permanente.
 Se chegase a un límite de almacenamento
en caché, probablemente significa que o seu servidor non é apto para o tamaño do
seu sitio web e as necesidades de almacenamento en caché.

### Como sirvo páxinas en caché a persoas que usan un teléfono ou tableta?

Podes xerar unha caché separada seleccionando “Xerar ficheiros separados para dispositivos
móbiles” na configuración da caché da páxina. Esta configuración da caché só é necesaria
se usas un tema específico para dispositivos móbiles ou para certos complementos
AMP.

### Funciona WP-Optimize Cache con Nginx?

Si, a característica de caché funciona con Nginx. Se desexa activar o almacenamento
en caché do navegador ou a compresión GZIP, deberá facelo vostede mesmo directamente
na configuración do servidor.

### Funciona o almacenamento en caché con Windows Server (IIS)?

Si, a característica de caché funciona con IIS. Do mesmo xeito que con Nginx, se
necesita activar o almacenamento en caché do navegador ou a compresión GZIP, deberá
facelo vostede mesmo no servidor.

### A memoria caché da páxina WP-Optimize traballa con ligazóns permanentes (baseados en parámetros de consulta)?

Non. É necesario ter ligazóns permanentes bonitas do tipo http://xxxxx.com/my-post/
en lugar de http://xxxxx.com/?p=1234 para que a caché funcione. As ligazóns permanentes
bonitas son a configuración predeterminada de WordPress e non hai ningún motivo 
para desactivalas, polo que non deberías ter ningún problema con isto.
 Teña en 
conta que a caché funcionará con ligazóns permanentes, incluíndo /index.php/. Son
só aqueles baseados en parámetros de consulta (?…) onde a caché non funcionará.

### Cando WP-Optimize limpa a memoria caché da páxina?

 * Cando publique contido novo ou actualice/edite contido existente, borrarase a
   memoria caché para esa publicación/páxina.
 * Cambiar/actualizar os temas actuais e os temas principais (dos temas secundarios)
   debe purgar o caché.
 * Ao desactivar a característica de caché en WP-Optimize

### Almacenaranse en caché as páxinas do panel de administración de WP?

Non, as páxinas do escritorio de WP non se almacenan en caché. A funcionalidade 
de caché só está destinada a almacenar en caché as páxinas da portada.

### Que é a vida útil da caché?

A vida útil da memoria caché é o tempo que se conservará un arquivo en caché antes
de ser rexenerado.
 Unha das razóns principais para establecer unha vida útil no
seu caché é que algúns plugins e temas usan nonces, que están impresos no código
fonte da páxina ([Lea máis sobre nonces aquí](https://developer.wordpress.org/plugins/security/nonces/)).
Estes nonces non se poden reutilizar e son válidos durante 12 horas de forma predeterminada(
os desarrolladores poden cambiar ese valor). O complemento de caché almacenará o
nonce na páxina, e leste deixará de ser válido despois dese período de tempo, o 
que pode afectar certas funcionalidades dos seus plugins e temas. Establecer unha
vida útil da memoria caché en menos de 10 horas garante que a memoria caché baléirese
automaticamente antes de que caduque o nonce. Desta maneira, pode usar a función
de caché de WP-Optimize en sitios que usan nonces. Outra razón é que é posible que
desexe que as súas páxinas reflictan algúns cambios sen ter que borrar todo o caché.
De feito, se ten moitas páxinas e publicacións, é posible que non desexe borrar 
cada arquivo de caché con cada cambio, senón establecer un intervalo no que caduquen
e rexenérense.

### Que valor debe ter a vida útil da caché?

Un valor de vida útil de caché máis baixo dará como resultado unha actividade de
actualización de caché máis frecuente no seu servidor e, por tanto, máis procesos
de precarga, se está activado.
 Se o seu sitio non usa nonces, e a caché do seu 
sitio non necesita actualizarse con frecuencia, pode establecer a vida útil da caché
nun valor alto ou en 0 para darlle unha vida útil infinita. A opción de vida útil
da memoria caché está establecida en 10 horas de forma predeterminada, pero pode
baixar a 8 ou mesmo menos. Se observa algún problema debido á alta carga do servidor,
estableza un intervalo máis alto para o precargador.

### Can WP-Optimize Cache minify JavaScript, CSS and HTML?

Yes, the newly added Minify enables you to minify JavaScript and CSS. It also enables
you to minify HTML.

### Why minify my WordPress site?

WP-Optimize Cache’s Minify feature is all about increasing the speed of your WordPress
site for your users.
 One way Minify does this is by reducing the size of your HTML,
CSS and JavaScript files by removing unnecessary spaces and lines from the files
and shortening long names internally within the code. Another way is that your files
are merged into as few files as possible. This reduces the amount of load on your
web server and can be quicker to load fewer files. You can also defer the loading
of any CSS or JavaScript file. This means any large or extraneous CSS or JavaScript
file can be loaded independently from the core of your WordPress site; giving your
users quicker access to your site.

### What does “Reset the minified files” actually do?

Pressing the “Reset the minified files” does:
 * delete the temporary files used
when generating the minified assets * delete old minified files (more than 30 days
old) * add a folder for the new minified files, which will be generated when visiting
a page The previously minified CSS files will remain on the server until they expire,
or until they’re deleted using the button “Delete all the files generated by minify”.

### Can I defer CSS and JavaScript using WP-Optimize Cache?

Yes, the newly added minification feature (a.k.a. Minify) allows you to defer parsing
of JavaScript and CSS.

### Google’s PageSpeed Insights says to leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. Can WP-Optimize Cache do that?

Leveraging the font-display CSS feature is currently possible when using Google 
Fonts. The default parameter is “swap”, but can be changed using the WordPress filter“
wpo_minify_gfont_display_type”.

### When enabling minify, my site’s layout is broken. How can I fix it?

This usually means one or more of your CSS files are incompatible with the minification
or merging process. It can also be caused by errors in the CSS’s syntax.
 You can
check the CSS’s syntax by using an online CSS syntax checker such as csslint.net.
If your syntax is not causing the issue, or you cannot change the file with an issue,
you can either exclude the problematic CSS files from the minification and merging
process. To exclude individual CSS files from the minification and merging process,
you can go to WP-Optimize > Minify > CSS and go to the “Exclude the following CSS
files from processing” section.

### When enabling minify, some functionality is broken. How can I fix it?

This usually means one or more of your JavaScript files are incompatible with the
minification or merging process. It can also be caused by errors in the JavaScript’s
syntax.
 The first thing to try is to enable the setting “Contain each included 
file in its own block” in the JavaScript options (WP-Optimize > Minify > Javascript
> JavaScript options). This could “catch” an error, and prevent the rest of the 
code to be broken. If the first option didn’t work, try disabling merging of JavaScript
files. If none of the above works, disable processing of JavaScript files in the
minify settings, and [open a support thread](https://wordpress.org/support/plugin/wp-optimize)
with details about your issue. We’ll do our best to help you troubleshoot the issue.

## Comentarios

![](https://secure.gravatar.com/avatar/f2ac817de1868fa820578846c82105585ff1576ce02e9f3a973b971e29b92ea5?
s=60&d=retro&r=g)

### 󠀁[Werkt super](https://wordpress.org/support/topic/werkt-super-4/)󠁿

 [djcammy1988](https://profiles.wordpress.org/djcammy1988/) 11 de Abril, 2026

Eerste keer geprobeerd en werkt goed ben erg tevreden

![](https://secure.gravatar.com/avatar/5801fe2e10f3a85b19914da12c68647e20eed7a1801a98540e003b82523496f2?
s=60&d=retro&r=g)

### 󠀁[Brilliant plug-in](https://wordpress.org/support/topic/brilliant-plug-in-32/)󠁿

 [Michael Damkvist](https://profiles.wordpress.org/michaeldamkvist/) 9 de Abril,
2026

Everything works fine and is wasy to work with

![](https://secure.gravatar.com/avatar/43aa392e772ce868e3a2fca69be938598f36dfc4846352e8484edee7cb87cd1d?
s=60&d=retro&r=g)

### 󠀁[Рахмет.](https://wordpress.org/support/topic/%d1%80%d0%b0%d1%85%d0%bc%d0%b5%d1%82-2/)󠁿

 [poiuy09876](https://profiles.wordpress.org/poiuy09876/) 1 de Abril, 2026 1 resposta

Жақсы плагин. Әзірлеушілерге рахмет.

![](https://secure.gravatar.com/avatar/6087a0e7cc6a340e2659dcdb42e295f80c87164333db0f53f694aced031f8164?
s=60&d=retro&r=g)

### 󠀁[Excelente](https://wordpress.org/support/topic/excelente-4229/)󠁿

 [edmella](https://profiles.wordpress.org/edmella/) 28 de Marzo, 2026 1 resposta

Muito bom

![](https://secure.gravatar.com/avatar/3134cbae4f1fa30b16fc718bf14aa4332e66fa5741ca668052fa7e6f1eebfb64?
s=60&d=retro&r=g)

### 󠀁[Trash it, before it kills your conversions.](https://wordpress.org/support/topic/trash-it-unless-it-kills-you/)󠁿

 [and4zej](https://profiles.wordpress.org/and4zej/) 27 de Marzo, 2026 3 respostas

WP-Optimize fails to fully de-register its components even when caching is toggled
off in the UI. Its hooks and filters remain active on every page load, specifically
interfering with the WooCommerce cart fragment system and how it handles the wc-
ajax=get_refreshed_fragments response. Crucially, the “disable” toggle only stops
the generation of new cache files; it doesn’t cease the plugin’s interference with
WooCommerce internals. This results in critical UI failures, such as customers seeing
incorrect cart contents or random items. Furthermore, the “broken site” symptoms
post-update are a direct result of 24-hour stale cache being served, where outdated
CSS/JS assets no longer align with the updated plugin output.

![](https://secure.gravatar.com/avatar/c9af98cdea752a2a5bf6f82d206c1adbb4a82731799dbdb49549e3c23c8c9091?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-41377/)󠁿

 [mdbg14](https://profiles.wordpress.org/mdbg14/) 22 de Marzo, 2026 1 resposta

Excellent!

 [ Ler todas as 2.569 opinións ](https://wordpress.org/support/plugin/wp-optimize/reviews/)

## Colaboradores e desenvolvedores

“WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed&
performance” é un software de código aberto. As seguintes persoas colaboraron con
este plugin.

Colaboradores

 *   [ David Anderson / Team Updraft ](https://profiles.wordpress.org/davidanderson/)
 *   [ Ruhani Rabin ](https://profiles.wordpress.org/ruhanirabin/)
 *   [ DNutbourne ](https://profiles.wordpress.org/dnutbourne/)
 *   [ aporter ](https://profiles.wordpress.org/aporter/)
 *   [ snightingale ](https://profiles.wordpress.org/snightingale/)
 *   [ LumberHack ](https://profiles.wordpress.org/lumberhack/)
 *   [ Venkat Raj ](https://profiles.wordpress.org/webulous/)

“WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed&
performance” foi traducido a 33 idiomas. Grazas [aos desenvolvedores](https://translate.wordpress.org/projects/wp-plugins/wp-optimize/contributors)
polas súas contribucións.

[Traduce “WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/wp-optimize)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/wp-optimize/), bota
unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/wp-optimize/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/wp-optimize/)
por [RSS](https://plugins.trac.wordpress.org/log/wp-optimize/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 4.5.1 – 23/Mar/2026

 * FIX: Fixed compatibility issue with WP Remote
 * FIX: Notice: Function _load_textdomain_just_in_time was called incorrectly
 * FIX: Resolved weekly cron not running on WordPress < 5.4 by switching to the 
   wpo_weekly schedule
 * FIX: Database table error when upgrading from free to premium version
 * REFACTOR: Improved WebP conversion flow by separating capability checks from 
   configuration changes
 * REFACTOR: Improved auto-optimization handling by correcting static method usage
 * REFACTOR: Introduced `WP_Optimize_Server_Compatibility` class to centralize all
   server environment checks
 * REFACTOR: Removed separate `get_schedule_types()` method in premium version
 * SECURITY: Enforced capability checks and allowed-command validation for Smush
   actions triggered via Heartbeat API. Thanks to WordFence for the responsible 
   disclosure
 * TWEAK: Display the `Enable the caching menu in the admin bar` option only when
   Cache or Minify is enabled
 * TWEAK: Improved detection of LearnDash plugin tables
 * TWEAK: Improved onboarding wizard RTL support and eliminated dependency on the
   PHP Reflection class
 * TWEAK: Improved robustness of `uploads/wpo` directory removal during plugin uninstallation
 * TWEAK: Minify – Don’t remove the version query argument when the source is not
   processed by Minify
 * TWEAK: Premium – Unused Images – Enhanced detection of edited WordPress images
 * TWEAK: Prevent deprecation notices in PHP 8.5
 * TWEAK: Add a notice when `.htaccess` file is not available or renamed in Apache
   servers

#### 4.5.0 – 11/Feb/2026

 * FEATURE: Premium – Cache – Added ability to cache only selected URLs
 * FEATURE: Premium – Minify – Host Google Fonts locally
 * FEATURE: Premium – Option to enhance page performance by applying Capo.js rules
 * FIX: Cache – fixed sitemap caching issue
 * FIX: Improved compatibility with WordPress versions earlier than 6.1
 * FIX: Reset WebP conversion failure no longer appears in the popup
 * FIX: Resolved issues with detecting WebP conversion availability
 * FIX: Smush – Fixed missing tooltip in the ‘Compress’ pop-up in Media Library
 * FIX: Stop initialization of page optimizer for non-HTML requests
 * FIX: Remove marcusschwarz/lessc lib from autoload
 * TWEAK: Added support for bypassing WPO features via a URL query parameter defined
   by the WPO_DISABLE_MODE_URL_PARAM constant
 * TWEAK: Allow some database records cleanup for Kinsta users
 * TWEAK: Clear cache of archived pages when a related post is updated
 * TWEAK: Disabled CSS/JS merging by default.
 * TWEAK: Enhanced 404 detector compatibility with plain permalinks
 * TWEAK: WP_Optimize_Options::auto_option_settings() is not called in Premium version
 * TWEAK: Improved timestamp handling to prevent fatal errors on WordPress 4.9
 * TWEAK: Improved Minify settings UI so JavaScript options correctly show/hide 
   when JS minification is enabled/disabled

#### 4.4.1 – 08/Jan/2026

 * FIX: Onboarding wizard RTL issue
 * FIX: Prevented plugin table JSON data in the uploads directory from being updated
   on every WP-Optimize admin page load

#### 4.4.0 – 12/Dec/2025

 * FEATURE: Added Onboarding Wizard
 * FIX: Ensured old cache purging cron job is scheduled successfully
 * FIX: Fixed a potential fatal error in the WPO_Page_Optimizer class
 * TWEAK: Fixed the ability to disable caching menu in admin bar
 * TWEAK: Updated file permissions for wpo-plugins-tables-list.json

#### 4.3.1 – 14/Nov/2025

 * FIX: Prevent PHP fatal error occurring when cache is enabled and the “Aelia Currency
   Switcher for WooCommerce” plugin is active
 * FIX: Cache – Fixed compatibility issue
 * FIX: Database – Table Usage – Fixed the issue with incorrect table name detection
   in certain cases
 * FIX: Fixed UI Issue – Content cut off in “Review Actions” modal under WP-Optimize
   > Database
 * FIX: Fixed _load_textdomain_just_in_time trigger too early
 * FIX: Premium – Unused images – Fixed an issue with clearing the cache of unused
   images
 * FIX: Smush – Compressing an image larger than the reSmush.it service limit freezes
   the popup in the Media Library
 * FIX: Smush – Fixed issue with multiple images compression action
 * FIX: Undefined property: stdClass::$plugin_status bug fixed
 * REFACTOR: Database – Table Usage – enhanced variable names
 * REFACTOR: Using strict comparison throughout the codebase
 * TWEAK: Improve detection of cloudflare handling browser cache
 * TWEAK: Added validation for AJAX commands in the Premium version
 * TWEAK: Convert already compressed images to webp format when possible
 * TWEAK: Fix the compatibility issue with ALTCHA when using the ASE Pro Plugin
 * TWEAK: Improve browser caching by adding max-age option
 * TWEAK: Premium – Cache – Do not process the cache when the user cannot be identified
 * TWEAK: Premium – Database – Tables usage report shows data only for active plugins
 * TWEAK: Premium – Unused Images – Enhanced detection for Revolution Slider
 * TWEAK: Premium – Unused Images – Improved detection of unused images in Oxygen
   Builder
 * TWEAK: Premium – Unused Images – Recognize Oxygen 6 images
 * TWEAK: Premium – Prevent PHP warnings from Table Usage feature
 * TWEAK: Remove unused jQuery 1.12.4 dependency
 * TWEAK: Run database table optimization last
 * TWEAK: Updated links
 * TWEAK: Various tweaks and improvements to code

#### 4.3.0 – 22/Sep/2025

 * FEATURE: Premium – Cache – Cache REST API requests
 * FEATURE: Premium – Further reduce CSS files sizes by removing unused CSS rules
 * FIX: Added backward compatibility for timezone and datetime functions and improved
   status report support for older WordPress versions like 4.9.
 * FIX: PHP Warning file_exists(): open_basedir restriction in effect
 * FIX: Prevented buffer initialization during wp-cron when HTML DOM is unavailable.
 * REFACTOR: Database – Table Usage – Refactored execute_query_analysis() function
 * TWEAK: Added new UpdraftCentral endpoints
 * TWEAK: Enhanced multisite support: added performance widget to Network Dashboard
   and fixed sub-site widgets to show only site-specific 404 request counts.
 * TWEAK: Fix external loading of Gtag analytics script
 * TWEAK: Moved the tooltip tag outside the tag
 * TWEAK: Performance – 404 Detector (Not Found Requests) added a button to clear
   all logs.
 * TWEAK: Publishing a post or custom post type (CPT) no longer clears the cache
   of all posts of the same type.
 * TWEAK: Removed return statements from constructors and added checks at the point
   of class instantiation.
 * TWEAK: Smush – Enhanced compatibility and performance with EWWW Image Optimizer
   installed
 * TWEAK: Premium – Added cache support for Nelio A/B Testing plugin
 * TWEAK: Added a hook to trigger custom code when a page is not cached

#### 4.2.4 – 30/Jul/2025

 * FIX: Potential PHP fatal error when no site is selected during database optimization
   in multisite
 * FIX: Issue where the database optimization spinner remained indefinitely active
 * FIX: PHP 8.4 compatibility warnings
 * FIX: Minify default exclusions fatal error
 * FIX: Premium – Potential PHP fatal error – type hinting error in the database
   table usage feature
 * FIX: Premium – Page cache and lazy load meta boxes no longer display on post 
   edit screen when their respective options are disabled
 * FIX: Only purge relevant files when a published post is saved; also purge the
   author archive cache upon post save
 * FIX: Premium – Fixed compatibility of Table usage with WordPress versions earlier
   than 5.3
 * REFACTOR: Premium – Database – Table Usage – added missed translation functions
 * TWEAK: Purged content will preload only when cache is enabled, and the user-agent
   has been updated to a modern browser and OS version
 * TWEAK: Update seasonal advert banner logos, texts and links
 * TWEAK: Update plugin readme text and links
 * TWEAK: Premium – Cache – Add UI element to ignore query variables
 * TWEAK: Premium – Database – Table Usage – replaced loading state with native 
   modal
 * TWEAK: Removed seasonal discount ads except Black Friday

#### 4.2.3 – 15/Jul/2025

 * FIX: Cache – Resolved PHP warning caused by excessively long cache file names
 * FIX: Corrected typo from `meta data` to `metadata`
 * FIX: Cron reschedule event error for hook `wpo_prune_404_log` when `is_minimum_requirement_met`
   is `false`
 * FIX: Premium – Fixed a rare PHP warning that could occur when saving a post
 * FIX: Unused image – incorrect image filtering in multisite
 * FIX: WP Remote sync conflict caused in v4.2.1 and v4.2.2 By replacing wp_salt
   with core PHP functions
 * FIX: YouTube lazy-load – Thumbnail image now falls back to JPG if browser doesn’t
   support WebP
 * FIX: WebP images were not being served in Firefox on certain environments
 * TWEAK: 404 detector logs URLs on mobile screens goes out of viewport fixed.
 * TWEAK: CSS Improvements, better font size handling, remove duplication, and SASS
   instead of import
 * TWEAK: Delay YouTube preview image cache purging
 * TWEAK: Display notice when server does not allow database optimizations
 * TWEAK: Enhanced database optimization compatibility with jQuery 4
 * TWEAK: Fixed incorrect transients count in database optimizations UI
 * TWEAK: Improved sanitization of incoming data in `Updraft_Smush_Manager_Commands`
 * TWEAK: Minify – Improved compatibility with Divi theme’s dynamically generated
   assets
 * TWEAK: Multisite corrected site count in database optimizations UI.
 * TWEAK: Preserve EXIF data is set to false by default in all places at codebase
   level.
 * TWEAK: Update URLs of links and images to point to https://teamupdraft.com

#### 4.2.2 – 02/June/2025

 * FIX: Cache – Resolved unwanted output in WP-CLI and fatal error related to WooCommerce’s
   country-specific files, introduced in v4.2.0
 * TWEAK: Premium – Cache – Compatibility with WordPress 6.8

#### 4.2.1 – 05/May/2025

 * FIX: Cache – Compatibility issue with other plugins due to late start of output
   buffering
 * TWEAK: Improved array handling in `get_active_plugins()`, potentially avoiding
   edge-case fatal error

#### 4.2.0 – 01/May/2025

 * SECURITY: On multisite installs (only), a logged-in site administrator could 
   use an unsanitised parameter to inject unwanted content into SQL queries. Thanks
   to Marc Montpas for the responsible disclosure.
 * FEATURE: Premium – Replace YouTube Iframes with preview images to improve page
   speed
 * FIX: Fix conflict with the WPML plugin
 * FIX: Smush – Fixed PHP warning on the Media Library page
 * FIX: Smush – Fixed issue where the Smush popup would freeze
 * FIX: WebP images not served after WP-Optimize reactivation
 * REFACTOR: Smush option removed from media upload modal
 * TWEAK: Update advert banner logos, texts and links
 * TWEAK: Add missing separator between compression items in media library
 * TWEAK: Avoid PHP warning thrown by Page Speed Ninja plugin
 * TWEAK: Cache – Start caching after plugins loaded
 * TWEAK: Fix PHP deprecation warning in PHPSQLParser for PHP 8.4
 * TWEAK: Fix deprecation warning in Updraft_Logger class for PHP 8.4
 * TWEAK: Fixes absence of checkbox to remove all transients
 * TWEAK: Premium – Support and feedback links in Help tab now point to getwpo.com

#### 4.1.1 – 05/Mar/2025

 * FIX: Page builders not working with Delay JS option enabled

#### 4.1.0 – 03/Mar/2025

 * FEATURE: Premium – Improve performance by caching Gravatar images locally.
 * FIX: Premium – Unused images – Fixed warnings when moving non existing image 
   to trash

#### 4.0.1 – 17/Feb/2025

 * FIX: File system usage issue

#### 4.0.0 – 10/Feb/2025

 * FEATURE: Delay JavaScript execution
 * FIX: Cache – Fixed PHP warning “Cannot modify header information”
 * FIX: Minify – Unusual behavior occurs when the “Disable Google Fonts processing”
   option is enabled
 * FIX: Smush – Fixed image compression actions in Media Library
 * REFACTOR: Replacing jQuery Tablesorter with ‘sortable-tablesort’ package
 * TWEAK: Cache – Enhance ActivityPub compatibility
 * TWEAK: Fix PHP notice caused by subscriben plugin advert
 * TWEAK: Minimum requirements were updated to PHP version 7.2 and WordPress version
   4.9
 * TWEAK: Remove uses of `unserialize` without restriction of allowed_classes
 * TWEAK: Recognise Independent Analytics Pro plugin tables in database optimization

#### 3.8.0 – 09/Dec/2024

 * FEATURE: Added a system status page
 * FEATURE: Logs frequent and highly recurrent 404 requests; introduces a new Performance
   tab.
 * FIX: Cache – Legacy Widgets visibility issue with WP-Optimize Cache enabled
 * FIX: Cache – UI issue: Preload “Cancel” option is gone after reloading the WPO
   settings page instantly
 * FIX: Database – optimizing any item also changes the status of other items
 * REFACTOR: Minify – Removal of the WPO_MINIFY_PHP_VERSION_MET constant
 * TWEAK: Add a warning message before deleting post metadata or orphaned relationship
   data.
 * TWEAK: Bailout early if the minimum PHP version is not met
 * TWEAK: Introduced logging for cache purge operations, available under `uploads/
   wpo/logs/cache-*.log`
 * TWEAK: Open CRON overdue guide in new tab
 * TWEAK: Persist Analytics Tab when minification is disabled
 * TWEAK: Premium – Unused Images – Improved detection of images not present in 
   the Media Library, marking them as used
 * TWEAK: UI improvements in Analytics section
 * TWEAK: Wrapped checkboxes inside `label` tags in the confirmation popup that 
   appears when clicking the “Remove” button on the Database > Tables tab.

#### 3.7.1 – 20/Nov/2024

 * TWEAK: Resolved a PHP notice caused by translation loading too early when caching
   is enabled, introduced in WordPress 6.7

#### 3.7.0 – 21/Oct/2024

 * FEATURE: Added an option to automatically preload URLs immediately after cache
   content is purged
 * FEATURE: Premium – Gather data about table usage by filtering `query` event
 * FIX: Cache – Scheduled preloading wasn’t working
 * FIX: Inconsistency in `smush_manager_send_command` function
 * REFACTOR: Smush – Popup styles, remove unused code
 * TWEAK: Fix fatal implode error when updating to v3.5.0
 * TWEAK: Image compression – Issue with cancelling smush image compression
 * TWEAK: Improve module minification logic
 * TWEAK: Premium – Unused images – Fixed popup when moving images to or restoring
   images from the trash
 * TWEAK: Premium – Unused images – Placeholder images in unused images section
 * TWEAK: Added `security.md` file with information to report security issues

#### 3.6.0 – 12/Sep/2024

 * FEATURE: Premium – Auto-detect images lacking dimension attributes and add them
   to improve CLS
 * FIX: Fixed the issue that disabled WebP conversion due to checking all shell 
   commands for WebP compression
 * FIX: Premium – Unused Images – The unused image size deletion functionality does
   not work when images are not in the /yyyy/mm/ folder
 * REFACTOR: Removed unnecessary static methods in WebP class
 * TWEAK: Image compression – Rolled back to using popup error notices as in versions
   prior to 3.4.0
 * TWEAK: Added a more descriptive error with resolution proposals for failed gzip
   compression and browser cache tests
 * TWEAK: Fix broken unused image list thumbnails and download as csv link in Multisite
 * TWEAK: Fix the singleton pattern in Heartbeat class
 * TWEAK: Image compression functionality added to the Media Library page
 * TWEAK: Premium – Cache – Added support for Aelia Currency Switcher plugin
 * TWEAK: Premium – Unused images – improve clarity in UI for images in post revisions
 * TWEAK: Added additional checks to the `implode()` function to mitigate the risk
   of fatal errors on certain instances

#### 3.5.0 – 14/Aug/2024

 * FEATURE: Premium – Host Google and minimal analytics scripts locally
 * FIX: Premium – Cache – Single page cache purge/preload feature isn’t working
 * TWEAK: Add logging for the WebP feature
 * TWEAK: Allow minification of script modules
 * TWEAK: Cache – Purge the cache when the site is migrated
 * TWEAK: Improvements to asset minification cache logic
 * TWEAK: Improvements to reSmushIt curl error message
 * TWEAK: Minify – Added an option to disable Google Fonts processing when it causes
   conflicts with other plugins
 * TWEAK: Move all WPO files from the `uploads` folder to `uploads/wpo`
 * TWEAK: Style improvement of the loading modals

#### 3.4.2 – 03/Jul/2024

 * FIX: Removes unnecessary heartbeat calls for retrieving information about images

#### 3.4.1 – 26/Jun/2024

 * FIX: Issue with bulk editing on the posts and pages edit screen

#### 3.4.0 – 25/Jun/2024

 * FEATURE: Premium – Smush – Bulk compress / restore from media library
 * FIX: Deactivate the form for minifying JS/CSS settings when the corresponding
   option is disabled
 * REFACTOR: The functionality for the ‘Unused Images’ feature in ACF has been moved
   to a separate class
 * TWEAK: Add UpdraftCentral commands for the latest WP-Optimize features
 * TWEAK: Adjusted the scheduled preload time for improved performance
 * TWEAK: Auto-update advanced-cache.php settings during site migration
 * TWEAK: Cache – Human-readable file names for the cache directory
 * TWEAK: Caching related cron jobs are activated even though cache is disabled
 * TWEAK: Image compression – Updated message for restoring images action
 * TWEAK: Implement Heartbeat API for image compression progress updates
 * TWEAK: Improving vendor autoload
 * TWEAK: Introduces a hook (`wpo_force_webp_serve_using_altered_html`) for changing
   WebP serving method
 * TWEAK: Minify – Exclude .min files from minification
 * TWEAK: Minify – Improve list of processed files UI
 * TWEAK: Optimization of the get_uncompressed_image query
 * TWEAK: Persist script loading strategy when minifying JS files
 * TWEAK: Premium – Compatibility with Curcy WooCommerce multi currency plugin
 * TWEAK: Premium – Unused Images – Added an option to delete original images when
   scaled versions exist

#### 3.3.2 – 16/Apr/2024

 * FIX: Ensure the admin bar is not cached when caching is enabled for both logged-
   in and guest users
 * REFACTOR: Remove unused code
 * TWEAK: Cache – Prevent sitemaps being cached
 * TWEAK: Display a notice when static browser cache is enabled but not working
 * TWEAK: Premium – Added “Lost your password?” link on plugin’s page
 * TWEAK: Premium – Unused images – Detect Elementor’s ‘Video’ widget’s image
 * TWEAK: Recognise Rank Math plugin tables as used in database optimization
 * TWEAK: Reduce .htaccess file write operations when WebP is enabled
 * TWEAK: Seasonal notice content update for 2024
 * TWEAK: Unused Images – Unused tab displays multiple images for compressed images
   with WebP Conversion
 * TWEAK: Prevent multiple AJAX requests being generated by repeated clicks on the“
   Purge Cache” button
 * TWEAK: Call the `litespeed_finish_request()` function when attempting to close
   browser connection on LiteSpeed servers

#### 3.3.1 – 06/Mar/2024

 * FIX: Cache – Compatibility issue with Jetpack’s infinity scroll feature
 * FIX: Cache – Don’t cache activity stream (ActivityPub plugin compatibility)
 * FIX: Cache – Page not cached comment is added to `robots.txt`
 * TWEAK: Fix PHP warnings when server variables are not available
 * TWEAK: Fix Unexpected response alert and PHP warning when cache preloading is
   triggered manually
 * TWEAK: Migrate from setInterval to WP heartbeat API to refresh information about
   backend tasks
 * TWEAK: Optimization of the WebP Implementation
 * TWEAK: Update dashboard notice to include all of our plugins
 * TWEAK: Update the footer review prompt

#### 3.3.0 – 31/Jan/2024

 * FEATURE: Premium – Ability to preload and purge caches from individual post/page
 * FIX: Premium – Unused Images – Recognise Elementor’s Container, and Section widget
   background images
 * FIX: Avoid having repeated minified scripts in the same bundle, it breaks the
   code in some specific cases
 * FIX: Cache – TranslatePress compatibility – Post updates purges cache for all
   related translated languages
 * FIX: Only try to parse canonical URLs if there is a path or querystring, needed
   for WPML with multi-domain compatibility
 * TWEAK: Add cron de-scheduling of all wpo_* events during plugin uninstall
 * TWEAK: Cache – Always add source code comment about page not being cached, but
   only add details when WP_DEBUG is ON
 * TWEAK: Cache – Fix issue with excluding encoded (non-latin) URLs
 * TWEAK: Do not attempt to close browser connection when the context is not an 
   AJAX action
 * TWEAK: Minify – Logging more information about why minify static assets cache
   gets invalidated and regenerated
 * TWEAK: Revert to the original `matthiasmullie/minify` repository after confirming
   resolution of previous issues
 * TWEAK: Setup Cron job to clear failed smush tasks from DB
 * TWEAK: Using clear text user agent strings instead of regular expressions to 
   identify web browsers for improved clarity
 * TWEAK: Updater library in the Premium version updated to the current release 
   series

#### 3.2.22 – 23/Nov/2023

 * TWEAK: Cache – Show a notice in the admin if the config file is missing and caching
   is enabled
 * TWEAK: Added support for new emoji styles related hooks introduced in WordPress
   6.4
 * TWEAK: Database – Fix “Optimize database tables” stuck loading state
 * TWEAK: Premium – Cache – Style improvement for the select2 box from advanced 
   cache settings
 * TWEAK: Premium – Images – Fix issues with avif images in the unused images feature
 * REFACTOR: Wrapping most of the external links in the WPO settings pages with 
   the appropriate function
 * REFACTOR: Remove unused code

#### 3.2.21 – 18/Oct/2023

 * FIX: Prevent PHP fatal error when updating from older versions of WP-Optimize

#### 3.2.20 – 16/Oct/2023

 * FIX: WebP – Performance issue because of possible infinite loop
 * FIX: Cache purging occurred prior to the cache lifespan expiration
 * FIX: Premium – Smush – Do not consider images in trashed posts as unused
 * TWEAK – Remove extra slash from plugin asset urls and paths
 * TWEAK: Image – Add a tooltip next to the restore button on the edit media screen
 * TWEAK: Premium – Prevent PHP deprecated warning when generating variations from
   attributes for new WooCommerce variable products
 * TWEAK: Premium – Purge cache when the `Variation Swatches for WooCommerce` plugin
   settings get updated
 * TWEAK: Premium – Settings – Style improvement for the `Purge cache permissions`
   select2 box
 * TWEAK: Recognise LearnDash plugin tables in database optimization
 * TWEAK: Remove empty `uploads/.htaccess` file and remaining cron events
 * TWEAK: Smush – Disable server info in smush logs by default
 * TWEAK: Smush – Resolve double log entries when compressing a single image from
   the media library metabox
 * TWEAK: Prevent unwanted PHP notice upon update

#### 3.2.19 – 15/Sep/2023

 * FIX: Cache – Relevant caches are now purged upon updating homepage display settings
   and posts per page settings
 * FIX: Minify – Multiline content inside textareas break after exporting and importing
   settings
 * FIX: Smush – Images are not compressed with default (image quality = 100) settings
 * FIX: Premium – Cache – Caching stops working when WordPress salt keys contain
   backslash () character
 * FIX: Premium – User per role cache not working when tables do not have `wp` prefix
 * FIX: Premium – When lazy loading is enabled, the picture tag in initial viewport
   is not visible
 * TWEAK: Fixed date format and timezone in the cache last modification comment 
   according to the site configuration
 * TWEAK: Fixed spelling errors in the repository
 * TWEAK: Minify – The process of purging cache for 3rd party caching solutions 
   now works properly when multiple other solutions are present
 * TWEAK: Premium – Lazy load – Added Jetpack, Optimole, Rocket Lazy Load, and Smush(
   WPMU Dev) plugins to the incompatibility notice
 * TWEAK: Prevent PHP warning upon installing themes from the WordPress repository
 * TWEAK: Update the composer package yahnis-elsts/plugin-update-checker for PHP
   8.2 compatibility

#### 3.2.18 – 11/Aug/2023

 * FIX: A bug in the v3.2.17 release that caused certain database optimization buttons
   to be disabled has been fixed
 * TWEAK: Reset WebP serving method upon updating to version 3.2.18

#### 3.2.17 – 08/Aug/2023

 * FIX: Automatically compress newly-added images feature now works on multisite
   in case of attachment ID is the same in both sites
 * FIX: Minify – No separate try-catch blocks for same handle
 * FIX: Premium – Unused Images – Recognise Elementor Carousel, Slides, Flip Box,
   and Site logo widget images
 * FIX: Premium – Prevent memory exhausted PHP fatal error when using unused images
   feature with Elementor
 * TWEAK: External links will open in new tab/window
 * TWEAK: Remove `htaccess-capability-tester` dependency
 * TWEAK: Remove residue folders in `uploads/wpo`

#### 3.2.16 – 06/Jul/2023

 * FIX: HTML minify should not remove `title` tag added by AIOSEO
 * FIX: Premium – Fetching unused images data is incorrect when previous task queue
   is not properly unlocked
 * FIX: Premium – Unused Images – Recognise Elementor background images
 * TWEAK: Premium – Prevent conflicts between the minify feature and the `YITH Point
   of Sale for WooCommerce` plugin
 * TWEAK: Premium – Compatibility issue with Smart Slider 3
 * TWEAK: Suppress PHP warnings caused by WebP converter
 * TWEAK: Database optimization – Prevent duplicate AJAX requests, minor code improvements
 * TWEAK: Smush – Add a cron job to run pending image compressions, ensuring completion
   of the process even if bulk image compression encounters interruptions or failures
 * TWEAK: Clean up files on uninstall
 * TWEAK: Added compatibility for `Custom Permalinks` plugin
 * TWEAK: If minifying is enabled, then check that the purge cron event exists (
   not only upon plugin activation)
 * REFACTOR: Premium – Unused Images – Separate classes for Beaver Builder, Estatik,
   and Yoast SEO plugins
 * FIX: Premium – WP CLI commands permission issues solved

#### 3.2.15 – 09/May/2023

 * FEATURE: Premium – Cache – Added compatibility with the “WooCommerce Multilingual&
   Multicurrency” plugin’s multi-currency feature
 * FIX: Premium – Above the folder elements should not be loaded lazily
 * FIX: Prevents minify cache invalidation when asset version is changed but content
   is same
 * FIX: Prevent PHP 8 uncaught exception `TypeError` when using CloudFlare
 * FIX: Add logging destination UI
 * FIX: Premium – Cache – Prevents a PHP fatal error that occurs when user cache
   is enabled on sites running on MariaDB with a version prefix of ‘5.5.5-‘ and 
   PHP versions prior to 8.0
 * FIX: Serving WebP images only to supported browsers wasn’t working properly when
   page caching is enabled
 * FIX: Minify – `inherit` Google fonts method is not working
 * TWEAK: Prevent PHP deprecation notice when purging minify cache
 * TWEAK: Cache – Prevent PHP warning when deleting cache
 * TWEAK: Suppress PHP notice when cannot write to .htaccess file
 * TWEAK: Add user capability check for smush task manager ajax handling method
 * TWEAK: Minify – Do not send cache control and last modified headers if already
   present
 * TWEAK: Smush – clean up log entries
 * TWEAK: Correctly handle XX and T1 country codes in Cloudflare’s IP country header
 * REFACTOR: Separate classes for activation, deactivation and uninstall actions

#### 3.2.14 – 30/Mar/2023

 * FIX: Compatibility with WordPress 6.2 when using PHP 8.x
 * FIX: Divi builder’s edit mode when WebP serving is using the “alter HTML” method
 * FIX: Premium – Unused images feature – improve compatibility with Beaver Builder
   and its addons
 * FIX: Cache – Page caching wasn’t working on the IIS webserver
 * RETOCAR: Actualizar avisos estacionais
 * TWEAK: Prevent deprecation notices in PHP 8.2+

[See changelog for all versions](https://plugins.svn.wordpress.org/wp-optimize/trunk/changelog.txt).

## Meta

 *  Versión **4.5.1**
 *  Última actualización **Fai 3 semanas**
 *  Instalacións activas **1+ millón**
 *  Versión de WordPress ** 4.9 ou superior **
 *  Probado ata **7.0**
 *  Versión de PHP ** 7.2 ou superior **
 *  Idiomas
 * [Azerbaijani](https://az.wordpress.org/plugins/wp-optimize/), [Chinese (China)](https://cn.wordpress.org/plugins/wp-optimize/),
   [Czech](https://cs.wordpress.org/plugins/wp-optimize/), [Dutch](https://nl.wordpress.org/plugins/wp-optimize/),
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/wp-optimize/), [English (Australia)](https://en-au.wordpress.org/plugins/wp-optimize/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/wp-optimize/), [English (New Zealand)](https://en-nz.wordpress.org/plugins/wp-optimize/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/wp-optimize/), [English (UK)](https://en-gb.wordpress.org/plugins/wp-optimize/),
   [English (US)](https://wordpress.org/plugins/wp-optimize/), [French (France)](https://fr.wordpress.org/plugins/wp-optimize/),
   [Galician](https://gl.wordpress.org/plugins/wp-optimize/), [Georgian](https://ka.wordpress.org/plugins/wp-optimize/),
   [German](https://de.wordpress.org/plugins/wp-optimize/), [Hebrew](https://he.wordpress.org/plugins/wp-optimize/),
   [Hungarian](https://hu.wordpress.org/plugins/wp-optimize/), [Italian](https://it.wordpress.org/plugins/wp-optimize/),
   [Japanese](https://ja.wordpress.org/plugins/wp-optimize/), [Korean](https://ko.wordpress.org/plugins/wp-optimize/),
   [Persian](https://fa.wordpress.org/plugins/wp-optimize/), [Polish](https://pl.wordpress.org/plugins/wp-optimize/),
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/wp-optimize/), [Romanian](https://ro.wordpress.org/plugins/wp-optimize/),
   [Russian](https://ru.wordpress.org/plugins/wp-optimize/), [Slovenian](https://sl.wordpress.org/plugins/wp-optimize/),
   [Spanish (Argentina)](https://es-ar.wordpress.org/plugins/wp-optimize/), [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-optimize/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/wp-optimize/), [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/wp-optimize/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/wp-optimize/), [Spanish (Peru)](https://pe.wordpress.org/plugins/wp-optimize/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/wp-optimize/), e [Spanish (Venezuela)](https://ve.wordpress.org/plugins/wp-optimize/).
 *  [Traduce ao teu idioma](https://translate.wordpress.org/projects/wp-plugins/wp-optimize)
 * Etiquetas
 * [cache](https://gl.wordpress.org/plugins/tags/cache/)[caching](https://gl.wordpress.org/plugins/tags/caching/)
   [image cache](https://gl.wordpress.org/plugins/tags/image-cache/)[minify](https://gl.wordpress.org/plugins/tags/minify/)
   [performance cache](https://gl.wordpress.org/plugins/tags/performance-cache/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/wp-optimize/advanced/)

## Valoracións

 4.8 de 5 estrelas

 *  [  2.354 valoracións de 5 estrelas     ](https://wordpress.org/support/plugin/wp-optimize/reviews/?filter=5)
 *  [  78 valoracións de 4 estrelas     ](https://wordpress.org/support/plugin/wp-optimize/reviews/?filter=4)
 *  [  24 valoracións de 3 estrelas     ](https://wordpress.org/support/plugin/wp-optimize/reviews/?filter=3)
 *  [  26 valoracións de 2 estrelas     ](https://wordpress.org/support/plugin/wp-optimize/reviews/?filter=2)
 *  [  87 valoracións de 1 estrelas     ](https://wordpress.org/support/plugin/wp-optimize/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-optimize/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/wp-optimize/reviews/)

## Colaboradores

 *   [ David Anderson / Team Updraft ](https://profiles.wordpress.org/davidanderson/)
 *   [ Ruhani Rabin ](https://profiles.wordpress.org/ruhanirabin/)
 *   [ DNutbourne ](https://profiles.wordpress.org/dnutbourne/)
 *   [ aporter ](https://profiles.wordpress.org/aporter/)
 *   [ snightingale ](https://profiles.wordpress.org/snightingale/)
 *   [ LumberHack ](https://profiles.wordpress.org/lumberhack/)
 *   [ Venkat Raj ](https://profiles.wordpress.org/webulous/)

## Soporte

Problemas resoltos nos últimos dous meses:

     19 de 27

 [Ver o foro de soporte](https://wordpress.org/support/plugin/wp-optimize/)

## Doar

Queres apoiar o progreso deste plugin?

 [ Dona a este plugin ](https://david.dw-perspective.org.uk/donate)