why don't you just 'set' the cache when the update to the content item occurs?
for a news-site this would be ok, as you hardly 'retouch' any
published articles which are old, and you would avoid the initial hit
on the story that way as well.
regards
Ian
On 11/30/05, [EMAIL PROTECTED] <[EMAIL PR
Hi,
What about smarter cache system? I mean update not only by time-out,
but also by a DB change.
In a news sites it will be especially usefull: content can update not
only each 'xxx' minutes, but it can also update by content
addition/edit/deletion.
I suppose, that such system can be built in
On 11/29/05, jws <[EMAIL PROTECTED]> wrote:
> If this sounds reasonable, I'll attach my diff to the original ticket,
> re-open it and continue the discussion there.
Sounds good!
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org
If this sounds reasonable, I'll attach my diff to the original ticket,
re-open it and continue the discussion there.
On 29 Nov 2005, at 05:30, Tom Tobin wrote:
I'd be interested in feedback on ticket #919, which implements a
"random" tag which parallels the functionality of the random filter.
I'd also be curious as to where the best place would be to implement a
possible helper class for the weighted random
On 11/29/05, Tom Tobin <[EMAIL PROTECTED]> wrote:
> I'd be interested in feedback on ticket #919, which implements a
> "random" tag which parallels the functionality of the random filter.
I definitely like it and feel like it's a worthy addition to the
default template library. The only loose end
On 11/29/05, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
> Each backend class grew escapeChars() method.
> It raises NotImplemented if its not implemented/NotPossible if escaping can
> not be done without an open connection.
> Your original change tries to use escapeChars and if no exception is throw
On 11/29/05, jws <[EMAIL PROTECTED]> wrote:
OK, so this is not a problem when we are working with the databases'live', since they are using parameterized queries. It IS a problemwhen using the 'install' and 'sql' sub-commands, since those are builtup using simple string concatenation.
So if all the
On 11/29/05, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
> What is the use case of this tag? This looks like logic, template in
> philosophy dictates the layout of the data generated in the views. Putting
> weights for example, is it not more of a logic than presentation?
Some measure of logic is na
OK, so this is not a problem when we are working with the databases
'live', since they are using parameterized queries. It IS a problem
when using the 'install' and 'sql' sub-commands, since those are built
up using simple string concatenation.
So if all the following were true, would this be acc
On 11/29/05, Tom Tobin <[EMAIL PROTECTED]> wrote:
I'd be interested in feedback on ticket #919, which implements a"random" tag which parallels the functionality of the random filter.I'd also be curious as to where the best place would be to implement a
possible helper class for the weighted random
On 11/29/05, jws <[EMAIL PROTECTED]> wrote:
> I'd like to clarify the reasoning, since I think it pertains to a
> larger issue. My understanding of Adrian's comment is that there
> currently is no infrastructure in Django to escape special characters
> in strings in a way that is specific to each
>I much prefer this idea to the proposals involving XMLHttpRequest. We
>can include the language definitions dictionary file with code like
>this:
Had a look at my posting with the sample implementation? It's exactly
that what I do - delivering a dictionary with a few helper (that
surprisingly lo
On 28 Nov 2005, at 19:48, Eugene Lazutkin wrote:
Typical way to do it in js is to provide a language file separately
from the
code. The language file in most cases defines a single dictionary
object.
The code doesn't use text directly but uses a dictionary to fetch
proper
strings. Such d
jws wrote:
My ticket was closed - http://code.djangoproject.com/ticket/470
I'd like to clarify the reasoning, since I think it pertains to a
larger issue. My understanding of Adrian's comment is that there
currently is no infrastructure in Django to escape special characters
in strings in a wa
15 matches
Mail list logo