4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 12, 2018, 11:07:07 AM

Login with username, password and session length
Search:     Advanced search
Follow 4images on twitter: Click here to follow!
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Discussion & Troubleshooting (Moderators: Acidgod, ivan, Rembrandt)
| | |-+  Cache Templates not working
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Cache Templates not working  (Read 3753 times)
olgaart
Newbie
*
Offline Offline

Posts: 45

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« on: October 13, 2008, 11:36:09 AM »

Hallo everybody,

in my page_header.php script "Cache Templates" part is deactivated like this:
// Cache Templates
/*$template_list = 'header,footer,category_dropdown_form,user_logininfo,user_loginform';
if (isset($templates_used) && $templates_used != "") {
  $template_list = $template_list.",".$templates_used;
}
$site_template->cache_templates($template_list);*/

If I activate it, my 4images site can not find templates any longer. What could be the problem? Does the activation of this bit make 4images performance faster?

Thanks in advance.
Logged

V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 578

mmm PHP...


View Profile WWW
« Reply #1 on: October 13, 2008, 03:20:17 PM »

It's probably something left over from v1.7 and no longer used. Since v1.7.1 new cache system was introduced that replaced this method.
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
olgaart
Newbie
*
Offline Offline

Posts: 45

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #2 on: October 13, 2008, 03:27:31 PM »

Oh, many thanks! So I just can delete it. My site is working slow, that's why I am searching for possibilities to improve loading speed. Is version 1.7.6 working faster?
Logged

V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 578

mmm PHP...


View Profile WWW
« Reply #3 on: October 13, 2008, 03:30:07 PM »

compare to v1.7 - yes, it is more optimized.
vs v1.7.5 probably not...
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 578

mmm PHP...


View Profile WWW
« Reply #4 on: October 13, 2008, 04:11:15 PM »

1.7.6. is much faster compared to my 1.7.5, but may be because of many changes I made in my old 1.7.5.

I'd say you are right:
v1.7.5:
Quote  [Expand]
Page generated in 0.164378 seconds with 17 queries, spending 0.016000 seconds doing MySQL queries and 0.148378 doing PHP things. GZIP compression disabled

v1.7.6
Quote  [Expand]
Page generated in 0.075933 seconds with 6 queries, spending 0.005000 seconds doing MySQL queries and 0.070933 doing PHP things. GZIP compression disabled


P.S.
IMO both of your sites work fast for me...
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
olgaart
Newbie
*
Offline Offline

Posts: 45

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #5 on: October 13, 2008, 04:16:33 PM »

thank you, the 1.7.5 is working fine now, but it was extremally slow this morning, that's why I started this comparison. Probably has also much to do with the server (1und1).
Logged

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

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.053 seconds with 19 queries.