budde377 / Part

Framework for developing websites written in PHP/Dart.
MIT License
2 stars 0 forks source link

Optimize site with cache #7

Open budde377 opened 9 years ago

budde377 commented 9 years ago

Use something like APC: http://us2.php.net/manual/en/book.apc.php

Since APC is global for all Vhosts, we should add an APC id to config. If ID isn't present, APC should be disabled.

Should add class to manage ACP with levels:

[APCid].Class.index

Imported from Bitbucket Originally reported by: Christian Budde Christensen (2013-09-25T09:28:27.708)

budde377 commented 9 years ago

This is getting more critical with the twig template implementation. This really benefits from this instead of using a cache folder.


Original comment by: Christian Budde Christensen (2013-10-24 19:27:00+00:00)

budde377 commented 9 years ago

There has been some issues with APC, we should maybe use filesystem cache or db cache .


Original comment by: Christian Budde Christensen (2013-10-29 18:25:24+00:00)

budde377 commented 9 years ago

http://code.tutsplus.com/tutorials/turbocharge-your-website-with-memcached--net-23939


Original comment by: Christian Budde Christensen (2015-02-11 14:09:43+00:00)

budde377 commented 9 years ago

Add cache strategy to SiteFactory. Implement caching with Serializable to tmp folder

budde377 commented 9 years ago

Almost cache. Need to cache BackendSingletonContainer

budde377 commented 9 years ago

It isn't realistic to cache all of the BackendSingletonContainer instead we should implement a cache strategy in the container.