[Radiant] About page caching

Sean Cribbs seancribbs at gmail.com
Sun Mar 30 11:28:00 CDT 2008


Mohit,

An IFRAME shouldn't be necessary.  For reference, an IFRAME is an HTML 
tag that works like a frameset but is "inline".  So essentially it would 
be requesting the results of a separate page entirely, which gets around 
your caching issue.  However, sometimes the integration of those can be 
sticky.

Regarding #2 and #3, they will work (assuming all the correct plumbing 
is there), it's just that they won't refresh but every 5 minutes (or 
however often you specify).  That is part of the rationale behind the 
5-minute cache -- balancing performance with timeliness.  It also lets 
us judo the whole cache-dependency issues you might see in Rails apps 
that do lots of caching.  Out of date?  No problem, it'll be refreshed 
in 5 minutes -- no need to automatically clear the 
child/parent/sibling/etc.  If timeliness is really an issue on those 
pages, you can always turn the cache off for them with a special Page type.

Sean

Mohit Sindhwani wrote:
> Peter Haza wrote:
>> Hi
>>
>> 1. Your counter is an external javascript and is out of radiant's 
>> control whatsoever because it is the client(browser) calling the 
>> script, not radiant(server).
>> A possible solution to this is to make radiant(server) make the call, 
>> but that would probably require some ruby/rails programming.
>>
>> 2,3. I would believe these would be cached, as I presume they use a 
>> feed /aggregator that is caching the results, but don't quote me on 
>> this.
>> Best to wait and see if someone else can give a definitive answer.
>>
>> It's important to notice the difference between 1 and 2,3.
>> Whereas 1 outputs javascript, the dynamics happen on the client 
>> side(browser) and out of radiant's control,
>> while 2,3 does the magic on the server side (hence it's cachable by 
>> radiant)
>>
>> So bottom line if I am correct:
>>
>> 1. Unaffected by caching
>> 2. Affected
>> 3. Affected
>>
>> ph
> Thanks Peter,
>
> That ties with my understanding also.  I do hope that I'll get another 
> response.
>
> While we're at it, would IFRAME help?  I've heard that word thrown 
> around from time to time and I haven't yet got around to checking it 
> out... or how to use it from within a Radiant site at this stage.
>
> Cheers,
> Mohit.
> 3/30/2008 | 8:34 PM.
>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>



More information about the Radiant mailing list