Traduttore plugin per la gestione della cache schermo We have designed a new caching engine for Translator Plugin Pro 5.0 & Gold 1.0. Abbiamo progettato un nuovo motore per il caching Translator Pro Plugin 5,0 e 1,0 Gold. Previously we used WordPress’ Object Caching Engine (bundled with WordPress) which doesn’t work so well in resource constrained sites. In precedenza abbiamo utilizzato WordPress' Oggetto cache del motore (in bundle con WordPress) che non funziona così bene in siti di risorse limitate. Also it doesn’t serve our need to have semi-permanent cache for translated pages and provide infrastructure for Translator Pro & Gold moving forward. Anche non servire i nostri necessità di disporre di semi-permanente per la cache di pagine tradotte e fornire infrastrutture per Translator Pro Gold & andare avanti. Our primary design objectives in designing the new caching engine are as follows: I nostri obiettivi primari di progettazione nel progettare il nuovo motore di caching sono le seguenti:

Translation speedup is the primary goal of any caching effort but there is more. Traduzione speedup è l'obiettivo primario di qualsiasi sforzo di memorizzazione nella cache, ma c'è di più. Translating a page requires us to submit the content, after pre-processing, to a translation engine like Google, who then sends us the translated version of the page. La traduzione di una pagina ci richiede di presentare il contenuto, dopo il pre-trattamento, a una traduzione del motore come Google, che poi ci invia la versione tradotta della pagina. The content is then post-processed and delivered to the client / requester. Il contenuto è quindi post-trattati e consegnati al cliente / richiedente. This process involves database queries and network traffic, each of which can add up if your site becomes / is popular. Questo processo coinvolge le query di database e il traffico di rete, ognuna delle quali può aggiungere fino se il tuo sito diventa / è popolare. The goal of caching is not only significantly speedup delivery of translated pages but also to reduce network traffic and database queries. L'obiettivo di caching non è solo in maniera significativa speedup di consegna di pagine tradotte ma anche per ridurre il traffico di rete e di database query.

Availability of service is a key goal. Disponibilità di servizio è un obiettivo chiave. Frequent queries to translation engines can cause overload of their services and they in turn can disable your site for a time period or more, which is clearly undesirable. Frequenti di query per i motori di traduzione può causare il sovraccarico dei loro servizi e che a sua volta in grado di disabilitare il suo sito per un periodo di tempo o più, che è chiaramente indesiderabili. So not only do we need to speedup translation on your site we also need to keep the translation engines happy by managing their load within their acceptable limits. Così non solo abbiamo bisogno di speedup traduzione sul tuo sito abbiamo anche bisogno di mantenere la traduzione motori felice di gestione dei loro carico nel loro limiti accettabili. We have done extensive tests to understand and satisfy the limits of each translation engines we use. Abbiamo fatto ampie prove di comprendere e soddisfare i limiti di ogni traduzione motori che utilizziamo. We also provide automatic failover support so if one engine fails we move over transparently to another and so on till we are able to satisfy the request or run out of engines (rarely). E 'inoltre disponibile il supporto di failover automatico per cui se un motore non ci muoviamo più trasparente ad un altro e così via fino a che siamo in grado di soddisfare la richiesta o si esaurisce di motori (raramente). We have as much provided 4 translation engines for redundancy. Abbiamo il più fornito 4 motori di traduzione per ridondanza. It is possible that they may change their limits down the road which is why we have made the engine very much configurable from the options panel. E 'possibile che essi possono cambiare i loro limiti lungo la strada che è il motivo per cui abbiamo fatto il motore molto configurabile dal pannello di opzioni.

Intelligent caching makes caching more relevant and effective. Rende il caching intelligente di caching più pertinenti ed efficaci. In WordPress the traditional model of caching is as used in wp-cache 2 plugin. In WordPress il tradizionale modello di memorizzazione nella cache è quello utilizzato nella wp-nascondiglio 2 plugin. It invalidates the cache on first sign of change and creates it from scratch again. Annulla la cache al primo segno di cambiamento e lo crea dal nulla di nuovo. It is very inefficient and ineffective for sites with frequent changes and /or frequent comments. E 'molto inefficiente e inefficace per i siti con frequenti modifiche e / o frequenti commenti. Each new post / updated post / new comment / updated comment etc. will invalidate the cache and start all over again. Ogni nuovo post / aggiornato post / nuovo commento / aggiornato commento ecc invalidare la cache e iniziare da capo. It is surely an overkill. E 'sicuramente un overkill. Most of the posts do not change at all when a new post is created or even modified. La maggior parte dei posti non cambiano affatto quando un nuovo post viene creato o addirittura modificati. We developed various ways for optimizing this scenario. Abbiamo sviluppato diversi modi per ottimizzare questo scenario. The primary objective is to ensure that translated pages are available for all requested content, either by translation (see availability issue above) or from cache, even if the translated page is not always from the latest revision. L'obiettivo primario è quello di garantire che le pagine tradotte sono disponibili per tutti i contenuti richiesti, o di traduzione (cfr. disponibilità questione di cui sopra) o dalla cache, anche se la pagina tradotta non è da sempre l'ultima revisione. Certain pages like index pages are prioritized for faster refresh. Alcune pagine come indice di pagine sono la priorità per l'aggiornamento più rapido. The cache is continuously refreshed in the background. La cache è aggiornata continuamente in background. Our intelligent caching engine achieves over 90% cache hits on average as you can see from the sidebar of this blog. Il nostro motore intelligente di caching raggiunge oltre il 90% cache colpisce, in media, come potete vedere nella barra laterale di questo blog. There are other technologies in place to ensure higher priority is given for humans than for robots / spiders etc. Ci sono altre tecnologie in atto per garantire una maggiore priorità è data per l'uomo che per robot / spider ecc

Manual Control is provided to individually delete the translated pages from cache or to delete the whole cache (not recommended). Il controllo manuale è fornito individualmente a eliminare il pagine tradotte da cache o di eliminare tutta la cache (non raccomandato).

The cached pages are compressed in database to minimize space requirements. La pagine cache sono compressi in banca dati per ridurre al minimo i requisiti di spazio. However since you will have a maximum of 14 times (you can reduce the number by reducing the number of translations you provide) the amount of content, compressed for space reduction, as the original number of pages you need to have space allocated for the database to hold it. Tuttavia, siccome si avrà un massimo di 14 volte (è possibile ridurre il numero di ridurre il numero delle traduzioni che ci fornisci) la quantità di contenuti, compressa per ridurre lo spazio, come l'originale numero di pagine è necessario disporre di spazio assegnato per la base di dati per mantenerla. If you have limited space for the database then you should either switch hosting provider (I recommend Se si dispone di spazio limitato per la base di dati allora si dovrebbe cambiare fornitore di servizi di hosting (raccomando WestHost ) or you should reduce the number of translations your provide. ) O si dovrebbe ridurre il numero di fornire il tuo traduzioni.