Issue description
Some resources rarley change. A subject page is generated dynamically every time although it does not change so frequently. Same goes for a feed. It is necessary to create a small caching mechanism in PHP, which avoids the dynamic generation of pages.
Details of this statement
No reifier
Created: 2009-07-10 09:59:59, Robert Cerny Modified: 2009-08-21 08:59:06, Robert Cerny Comment
[http://pear.php.net/package/Cache_Lite, Cache Lite] makes a good impression. After some central coding i was possible to avoid recreating large pages. The system would affect the resource definition and would cache entries depending on the query string.
Additionally it would be necessary to make the system sensitive to the language the resource is delivered and also to the host, since the base is set in every page.
Details of this statement
No reifier
Created: 2009-07-11 08:34:04, Robert Cerny Modified: 2009-07-11 08:34:04, Robert Cerny
The general idea is to keep the cache simple for now, because it is very difficult to decide which update affects which resource. The simple principle for the moment is: the whole cache of a store is emptied on any POST, PUT, or DELETE to the store. Very simple.
Details of this statement
No reifier
Created: 2009-07-13 14:56:35, Robert Cerny Modified: 2009-07-14 16:01:28, Robert Cerny
The current solution system has the following features:
* a store cache can be easily put in effect for a class of resources
* a store cache can be made sensitive to varying representations of one resource
* a store cache is emptied when a PUT, POST or DELETE to the store is received
* a store cache can be cleared manually via the command line very easily by removing the directory below tmp/cache_lite
* a store cache can be reset via the browser by calling admin/.clear-cache
Details of this statement
No reifier
Created: 2009-07-14 16:01:28, Robert Cerny Modified: 2009-07-14 16:01:48, Robert Cerny
This simple solution yields quite impressive results. With an active store cache 50 identical requests take 4.6 seconds. Without the cache they take 82 seconds!
Details of this statement
No reifier
Created: 2009-07-14 17:40:27, Robert Cerny Modified: 2009-07-14 17:40:27, Robert Cerny |
Planned for version
Topincs 3.3.0 (Product version)
Details of this statement
No reifier
Created: 2009-07-10 09:59:59, Robert Cerny Modified: 2009-07-10 09:59:59, Robert Cerny Caused
Configuration of the base dir of the cache (Enhancement)
Details of this statement
No reifier
Created: 2009-07-24 11:23:20, Robert Cerny Modified: 2009-07-24 11:23:20, Robert Cerny
Cache does not vary by method (Bug)
Details of this statement
No reifier
Created: 2009-07-24 12:54:50, Robert Cerny Modified: 2009-07-24 12:54:50, Robert Cerny Realized through
Work session 11 (Work session)
Details of this statement
No reifier
Created: 2009-07-11 07:05:21, Robert Cerny Modified: 2009-07-11 07:05:21, Robert Cerny
Work session 16 (Work session)
Details of this statement
No reifier
Created: 2009-07-13 12:16:32, Robert Cerny Modified: 2009-07-13 12:16:32, Robert Cerny
Work session 17 (Work session)
Details of this statement
No reifier
Created: 2009-07-13 17:11:57, Robert Cerny Modified: 2009-07-13 17:11:57, Robert Cerny
Work session 18 (Work session)
Details of this statement
No reifier
Created: 2009-07-14 08:09:28, Robert Cerny Modified: 2009-07-14 08:09:28, Robert Cerny
Work session 19 (Work session)
Details of this statement
No reifier
Created: 2009-07-14 13:41:42, Robert Cerny Modified: 2009-07-14 13:41:42, Robert Cerny Affects
Topincs Server (Component)
Details of this statement
No reifier
Created: 2009-07-10 09:59:58, Robert Cerny Modified: 2009-07-10 09:59:58, Robert Cerny Reporting date
2009-07-10+02:00
Details of this statement
No reifier
Created: 2009-07-10 09:59:59, Robert Cerny Modified: 2009-07-10 09:59:59, Robert Cerny Reported by
Robert Cerny (Person)
Details of this statement
No reifier
Created: 2009-07-10 09:59:58, Robert Cerny Modified: 2009-07-10 09:59:58, Robert Cerny Resolving date
2009-07-14+02:00
Details of this statement
No reifier
Created: 2009-07-14 16:02:45, Robert Cerny Modified: 2009-07-14 16:02:45, Robert Cerny Resolved by
Robert Cerny (Person)
Details of this statement
No reifier
Created: 2009-07-14 16:02:45, Robert Cerny Modified: 2009-07-14 16:02:45, Robert Cerny Resolved in version
Topincs 3.3.0 (Product version)
Details of this statement
No reifier
Created: 2009-07-14 16:02:45, Robert Cerny Modified: 2009-07-14 16:02:45, Robert Cerny |