Author |
Message |
Topic: Cache resource |
roger
Replies: 0
Views: 2728
|
Forum: General Posted: Thu Mar 01, 2012 3:11 pm Subject: Cache resource |
Good morning.
How can I do to return an existing cache but expired after isCached = false ?
I run a function to update an xml feed and I return the cache unmodified. The next call will update the ... |
Topic: Keep the same cache id |
roger
Replies: 2
Views: 7443
|
Forum: Installation and Setup Posted: Thu Mar 01, 2012 10:56 am Subject: Keep the same cache id |
Thanks ! |
Topic: Keep the same cache id |
roger
Replies: 2
Views: 7443
|
Forum: Installation and Setup Posted: Thu Mar 01, 2012 10:19 am Subject: Keep the same cache id |
Good morning.
Is it possible to retain the same id cache, cache mysql, when changing Smarty version so as not to have to delete everything ?
Cordially. |
Topic: Second appel à isCached |
roger
Replies: 0
Views: 6789
|
Forum: Language: French Posted: Thu Mar 01, 2012 7:38 am Subject: Second appel à isCached |
Bonjour.
J'ai besoin de faire un 2eme appel à isCached pour retourner un cache existant mais périmé sans le mettre à jour après un setCacheLifetime(-1).
Cela fonctionnait sur la 3.0.6 mais plus main ... |
Topic: Smarty and latency |
roger
Replies: 4
Views: 7965
|
Forum: Bugs Posted: Wed Oct 19, 2011 9:18 am Subject: Smarty and latency |
I use cacheresource.mysql but it was the same with the file system.
Latency is the same as the cache is valid or not.
I use two insert function, but even these functions removed the same. |
Topic: Smarty and latency |
roger
Replies: 4
Views: 7965
|
Forum: Bugs Posted: Wed Oct 19, 2011 9:12 am Subject: Smarty and latency |
Yes but if the cache is active to gain speed.
It's not good ! |
Topic: Smarty and latency |
roger
Replies: 4
Views: 7965
|
Forum: Bugs Posted: Wed Oct 19, 2011 7:52 am Subject: Smarty and latency |
Hello.
Since I use Smarty I latency of 500ms before receiving the first bit from the server even with caching mysql enabled and compilecheck OFF.
Other sites on the same server without Smarty has a ... |
Topic: Bug CacheModifiedCheck |
roger
Replies: 4
Views: 6382
|
Forum: Bugs Posted: Wed Oct 19, 2011 4:18 am Subject: Bug CacheModifiedCheck |
I did not delete the compiled templates.
I test by removing the compiled templates.
It's ok !
Thank you. |
Topic: Bug CacheModifiedCheck |
roger
Replies: 4
Views: 6382
|
Forum: Bugs Posted: Tue Oct 18, 2011 3:17 pm Subject: Bug CacheModifiedCheck |
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.
N ... |
Topic: Bug CacheModifiedCheck |
roger
Replies: 4
Views: 6382
|
Forum: Bugs Posted: Tue Oct 18, 2011 5:33 am Subject: Bug CacheModifiedCheck |
Hello.
In production (linux) but not in local (window) setCacheModifiedCheck (true) (3.1.3) returns an empty content.
Cordially. |
Topic: Stop the cache can not |
roger
Replies: 8
Views: 10636
|
Forum: Bugs Posted: Fri Oct 14, 2011 2:05 pm Subject: Stop the cache can not |
Thank you very much. |
Topic: Stop the cache can not |
roger
Replies: 8
Views: 10636
|
Forum: Bugs Posted: Fri Oct 14, 2011 5:28 am Subject: Stop the cache can not |
It's good, thanks.
Two quick questions if possible.
Is that $ smarty-> cache_locking = true works correctly with cacheresource.mysql or should he add FOR UPDATE in cacheresource.mysql.php line ... |
Topic: Stop the cache can not |
roger
Replies: 8
Views: 10636
|
Forum: Bugs Posted: Thu Oct 13, 2011 3:31 pm Subject: Stop the cache can not |
Sorry 4377.
I apply r4378 tomorrow. |
Topic: Stop the cache can not |
roger
Replies: 8
Views: 10636
|
Forum: Bugs Posted: Thu Oct 13, 2011 3:05 pm Subject: Stop the cache can not |
I applied the r4337 but it's the same, it still does not work. |
Topic: Stop the cache can not |
roger
Replies: 8
Views: 10636
|
Forum: Bugs Posted: Thu Oct 13, 2011 5:06 am Subject: Stop the cache can not |
Hello.
In Smarty 3.1.2 or 3.1.3 but not 3.0.6 it is not possible to cancel caching with $ smarty-> setCaching (Smarty:: CACHING_OFF) After $ smarty-> setCaching (Smarty :: CACHING_LIFETIME_CURR ... |
|