Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Dedicated server web hosting provided by Guru-host.eu.
Bug CacheModifiedCheck

 
Post new topic   Reply to topic    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
roger
Smarty Rookie


Joined: 23 Jan 2011
Posts: 19

PostPosted: Tue Oct 18, 2011 5:33 am    Post subject: Bug CacheModifiedCheck Reply with quote

Hello.
In production (linux) but not in local (window) setCacheModifiedCheck (true) (3.1.3) returns an empty content.

Cordially.
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 4175
Location: Hamburg / Germany

PostPosted: Tue Oct 18, 2011 2:57 pm    Post subject: Reply with quote

If cache_modified_check is enabled Smarty tries to make use of the cliet browser cache. Maybe you got some garbage in your browser cache. Have you tried to clear the browser cache first?

It does work in my and other places...
Back to top
View user's profile Send private message
roger
Smarty Rookie


Joined: 23 Jan 2011
Posts: 19

PostPosted: Tue Oct 18, 2011 3:17 pm    Post subject: Reply with quote

No, no. Reference well 304 not modified but return something and the browser said it did not find the page and in my case it is for sitemaps and Google webmasters tools said that the file is empty.
No changes made ​​since 3.0.6 and move to 3.1.3.
Removing the setCacheModifiedCheck (true) and everything is ok.

In addition, since I use Smarty I have a huge latency. This is normal ?
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 4175
Location: Hamburg / Germany

PostPosted: Tue Oct 18, 2011 4:36 pm    Post subject: Reply with quote

I just verified again on windows and linux servers. works as expected. Must be something with your server/client configuration.

Did you clear all existing compiled and cache files after upgrading to 3.1 ?
Back to top
View user's profile Send private message
roger
Smarty Rookie


Joined: 23 Jan 2011
Posts: 19

PostPosted: Wed Oct 19, 2011 4:18 am    Post subject: Reply with quote

I did not delete the compiled templates.
I test by removing the compiled templates.
It's ok !

Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP