Hi Christopher, Regexp is not supported in exclude/include URL params. Try the following,
<Optional feature="content-rewrite"> <Param name="expires">86400</Param> <Param name="include-urls">.js</Param> <Param name="include-urls">.gif</Param> </Optional> Regards, Sachin On Tue, Aug 4, 2009 at 7:02 PM, Markitecht <[email protected]> wrote: > > Some time ago, I implemented the following content-rewrite rules into > my app (see toward the end of snippet): > > <ModulePrefs...... > ...... > <Locale lang="pt-BR" /> > <Require feature="opensocial-0.8"/> > <Require feature="opensocial-data"/> > <Require feature="opensocial-templates"> > <Param name="process-on-server">true</Param> > </Require> > <Require feature='analytics' /> > <Require feature='flash' /> > <Optional feature='dynamic-height' /> <!-- gadgets.window --> > <Optional feature="content-rewrite"> > <Param name="include-urls">.*\.js|gif$</Param> > <Param name="exclude-urls"></Param> > <Param name="include-tags">img,script</Param> > </Optional> > </ModulePrefs> > > Is there something wrong with the way i did the rewrite rules? They > don't seem to be caching images an javascript as i continued to see > requests pouring into my servers. > > thanks for any tips, > Christopher > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---

