Ticket #36 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Allow for caching of already translated text

Reported by: mail@… Owned by: ofer
Priority: major Milestone: 0.5 - Beta wordpress plugin
Component: Parser Version: 0.2.2
Keywords: Cc:

Description

I tried to use Transposh but quickly gave up because on each attempt to translate a page, my php usage would peak (i'm on a shared hosting) and the whole site would slow down to a crawl (or give Internal Server Errors).

I believe a caching functionality would help. Firstly it would avoid re-translating elements that appear on each page (such as the header or the tags) and it would also then reduce the amount of resources required for see a translation.

Without it unfortunately I can't use it.

Change History

comment:1 Changed 3 years ago by ofer

  • Status changed from new to accepted

Hello there,

Caching is enabled when APC is installed on your server, please let me know if for some reason it does not cache when APC is avail.

comment:2 Changed 3 years ago by mail@…

As I informed you via email, it seems that allowing the translation to run and finish for the first time solved the issue. The translated elements seem to have gone into the cache (translation of other pages proceeds much much more quickly now) so I probably already have APC installed.

However, a warning to people that the first translation might take a while (and that it shouldn't be interrupted) might be appropriate.

Cheers

comment:3 Changed 3 years ago by anonymous

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.