... decided to use this solution, as the case with mm_forum had shown that deleting memcache for a single URL is definitely doing too little. This mechanism is not ideal, but we continue to improve it by working on record tagging for items written in the memcache. Tagging will bring completely new functionality to the entire model, and improve the efficiency of the entire extension.
See also:
Extension...
... się na takie rozwiązanie, ponieważ przypadek z mm_forum pokazał, że usunięcie memcache tylko dla jednego urla to zdecydowanie za mało. Mechanizm ten wciąż nie jest idealny ale intensywnie pracujemy nad tagowaniem rekordów zapisywanych do memcache. Tagowanie wniesie całkiem nowe możliwości do całego modułu i pozwoli na jeszcze bardziej wydajne działanie całego rozszerzenia.
Zobacz...
... that will decrease these times to 1~3 milliseconds. We need to add the following condition: if (!isset($_GET['eID'])) to both ext_tables.php and ext_localconf.php files. Here's an example taken from mm_forum:
//CODE:php: //ext_tables.php if (!defined('TYPO3_MODE')) die('Access denied.'); if(!isset($_GET['eID'])) { /* * Extend fe_user table */ $tempColumns = array( 'tx_mmforum_avatar' =>...
... The problem is that the USER_INT type extensions are generated every time the page is refreshed after TYPO3 generates the headline of the page containing a tag title. A good example may be the mm_forum, where each thread in a standard installation has the same title, and not the name of the topic as we wish for.
The solution is quite We should add the following code to the code of our USER_INT...
... że rozszerzenia typu USER_INT są generowane za każdym odświeżeniem strony po tym jak TYPO3 wygeneruje już nagłówek strony w którym znajduje się tag title. Dobrym przykładem może być mm_forum, gdzie w standardowej instalacji każdy wątek ma ten sam tytuł, a nie tak jak byśmy sobie życzyli - nazwę topicu.
Rozwiązanie jest dość banalne :) W kodzie naszej wtyczki USER_INT dopisujemy...
... indexes the SQL database, it returns the uid of the indexed record, which may be later very easily linked to the author, similar topics etc.
To see how we can index the entire contents of mm_forum using the mnogosearch plugin and only a few changes, read on below.
To start with, we need the ability to collect all required data through one sql query. The mnogosearch plugin does not provide...
... pomocą eID. Zacznijmy od zmian, które zmniejszą czasy do 1-3ms. We wszystkich wtyczkach w plikach ext_tables.php i ext_localconf.php należy dodać warunek if (!isset($_GET['eID'])), przykład z mm_forum:
//CODE:php: //ext_tables.php if (!defined('TYPO3_MODE')) die('Access denied.'); if(!isset($_GET['eID'])) { /* * Extend fe_user table */ $tempColumns = array( 'tx_mmforum_avatar' =>...
... nam uid zindeksowanego rekordu, który później bardzo łatwo możemy połączyć z autorem czy np. tematami pokrewnymi.
Poniżej pokażę jak możemy zindeksować całą zawartość mm_forum za pomocą wtyczki mnogosearch i bardzo nie wielu zmian.
Na początek musimy mieć możliwość pobrania wszystkich niezbędnych danych z użyciem jednego zapytania sql. Wtyczka mnogosearch...
Recent Comments
Powered by Disqus