SimplePortal
Development => Feature Requests => Topic started by: kak2z on May 04, 2012, 01:40:10 AM
-
I propose to make cache blocks. In each block to make the timing of updates (1 minute - 10 minutes).
What would you open the main portal page opened up a static page, not dynamic.
thank you
-
it is a bad idea? :|
-
I think this is a really good idea, I'll point the team to this topic. :)
-
On my site now DDoS attacks. When SiplePortal enabled all the time I see an error 504. Turn off when the portal - page opens.
The portal will probably increase the load on the processor and the Apache
-
it is a bad idea? :|
this is a very good idea :nervous-happy:
-
Who know what the news about the new version and caching? :)
-
I cached my "php blocks" in "manually mode":
example:
your content (or your content in file) for your "php block":
<?php
// your code ...
if (!($data = cache_get_data('your_index_cache')))
{
// your code ...
cache_put_data('your_index_cache', $data, 3600);
}
// your code ...