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


On Mar 30, 2008, at 7:23 AM, Mohit Sindhwani wrote:

Hi Everyone

I'm a bit confused about page caching in Radiant. I'd like to have a few dynamic things on a page and I'm wondering if this will be affected by Radiant's caching:

1. A page counter written in Perl
2. A set of comments that are grabbed from a discussion forum
3. A feed from another website

I have #1 on a page implemented as below:
<script language="JavaScript" src="http://example.com/cgi-bin/counter/gcount.pl?100=te_main "></script> hits. and the counter increments if you reload the page (even within 5 minutes).

It was my impression that Radiant's caching meant that nothing on the page changed for 5 minutes. So, will #2 and #3 not work?

Thanks
Mohit.


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to