Joomlatwork
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 19, 2013, 08:46:54 AM

Login with username, password and session length
Search:     Advanced search
15700 Posts in 5211 Topics by 10957 Members
Latest Member: mupemeniamy
* Home Help Search Login Register
+  Joomlatwork
|-+  Joomla accelerate component
| |-+  Support questions
| | |-+  Excluding one page from caching?
« previous next »
Pages: [1] Print
Author Topic: Excluding one page from caching?  (Read 3289 times)
akolar
Newbie
*
Posts: 23


View Profile
« on: November 09, 2006, 09:28:47 AM »

All, this looks like an awesome component and is also badly needed for the websites we are mastering.

One thing is not clear from your description of the component. Can I disable caching in your component for a particular page?

Example. Most of the pages on www.jlet.si are more or less static and would perform nicely with your component. There is one part of the website though which reloads the same page with other GET parameters in the URL to give different output:
http://www.jlet.si/index.php?option=com_content&task=view&id=35&Itemid=32&contest=DJP2006-standard

1. Will this work in the accelerator? Will the accelerator consider these as two pages or one:
http://www.jlet.si/index.php?option=com_content&task=view&id=35&Itemid=32&day=6&type=daily&contest=DJP2006-standard
http://www.jlet.si/index.php?option=com_content&task=view&id=35&Itemid=32&day=6&type=task&contest=DJP2006-standard

2. If #1 is considered as a single page. Is it possible to exclude some Joomla pages from the accelerator?
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #1 on: November 09, 2006, 10:17:26 AM »

Yes, its amazing to see the performance boost if you have a 'static' like Joomla site.

You can disable single pages to be included within the cache. Each cached page URL is stored within SQL table and for each entry you can disable the caching for the specific page. If you disable the page the cache paged is removed from the cache and will always be by passed within the cache building (not included within the cache anymore).

Also within the global configuration you can disable URL parts that should be excluded from the cache. For example if the unique part is contest=DJP2006-standard you can disable this within the global configuration.

We are working on setting disable filter based on regular expression. This will soon be included within the product.

Regards,

Richard
« Last Edit: November 09, 2006, 10:27:20 AM by joomlatwork » Logged
akolar
Newbie
*
Posts: 23


View Profile
« Reply #2 on: November 09, 2006, 10:54:31 AM »

Cool!

This is a hack for the index.php I gather? When I upgrade Joomla I have to reinstall your component as well?
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #3 on: November 09, 2006, 12:31:57 PM »

Both, you can either patch the index.php (we will supply a new index.php file when Joomla upgrades) or reinstall the component.

Regards,

Richard
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!