I'm thinking on a kind of page caching solution.
Before I describe the idea, let we see the other performance solutions.
Performance issues:
1) Of course performance is the best if the pages are rendered into static HTML, but the rendering time sometimes can take long (even very long) time, even if only the changed pages are rebuilt.
2) When we use dynamic page display, but we still need high performance, we can use permanent environment (mod_perl, FCGI, etc.). But even when using mod_perl, all the code flow, database queries, template parsing or compiled template file execution must be executed for each request.
It would be possible to cache a page within a relatively small time interval (i.e. 1 minute or 1 second depending on traffic size), and display the same cached page until it expires. This is usually called Dynamic Output Caching or Application Acceleration.
There are several solutions which I know to have such features, like:
http://www.pmachine.com/...general/caching.html (interesting idea: Query Caching, Tag Caching, Dynamic Page Caching)
http://www.warpsolutions.com/SiteMap/glossary.htm
http://www.zend.com/...nce-how-it-works.php
http://httpd.apache.org/docs/mod/mod_proxy.html
Using mod_proxy module in Apache would be a solution.
Also there is a plugin for LSQL, named Cache Page, which caches remote pages. However AFAIK it's caching remote pages, and I suppose it's not integrated into LSQL the way to cache internally generated pages.
Firstly: I'm looking for a solution, which can be easily integrated in shared virtual hosting environment, without serious changes in Apache config or in the server environment. Maybe something like mod_proxy.
Secondly: I'm looking for a solution within LinksSQL itself using a plugin, but the plugin should be capable to cache internally rendered dynamic pages. If there isn't such plugin, I'm thinking to create one in long terms, somewhere in the future. Or the author of Cache Page may implement that feature?
Ideas, advices, comments are welcome.
If you know other solutions than those mentioned above, let me know.
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Before I describe the idea, let we see the other performance solutions.
Performance issues:
1) Of course performance is the best if the pages are rendered into static HTML, but the rendering time sometimes can take long (even very long) time, even if only the changed pages are rebuilt.
2) When we use dynamic page display, but we still need high performance, we can use permanent environment (mod_perl, FCGI, etc.). But even when using mod_perl, all the code flow, database queries, template parsing or compiled template file execution must be executed for each request.
It would be possible to cache a page within a relatively small time interval (i.e. 1 minute or 1 second depending on traffic size), and display the same cached page until it expires. This is usually called Dynamic Output Caching or Application Acceleration.
There are several solutions which I know to have such features, like:
http://www.pmachine.com/...general/caching.html (interesting idea: Query Caching, Tag Caching, Dynamic Page Caching)
http://www.warpsolutions.com/SiteMap/glossary.htm
http://www.zend.com/...nce-how-it-works.php
http://httpd.apache.org/docs/mod/mod_proxy.html
Using mod_proxy module in Apache would be a solution.
Also there is a plugin for LSQL, named Cache Page, which caches remote pages. However AFAIK it's caching remote pages, and I suppose it's not integrated into LSQL the way to cache internally generated pages.
Firstly: I'm looking for a solution, which can be easily integrated in shared virtual hosting environment, without serious changes in Apache config or in the server environment. Maybe something like mod_proxy.
Secondly: I'm looking for a solution within LinksSQL itself using a plugin, but the plugin should be capable to cache internally rendered dynamic pages. If there isn't such plugin, I'm thinking to create one in long terms, somewhere in the future. Or the author of Cache Page may implement that feature?
Ideas, advices, comments are welcome.
If you know other solutions than those mentioned above, let me know.
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...