Web lingo files are compiled and cached,once per thread.
If you hit a thread where the file has notyet been cached, it will read in the file from disk (which you just modified),compile it, cache it on that thread and serve it to the browser. Forthose threads, you will see your change.
The WEBLINGO:WebLingo Root:CacheMap.LookupCompiledFilefunction is what performs the caching.
It relies, however, on a hardcoded valuein $WebLingo.gEnableCaching to determine if caching should occur.
Caching can also be avoided if $WebLingo.gCheckDatesis FALSE and the second parameter to LookupCompiledFile was set to TRUE (forceCompile).
Again, $WebLingo.gCheckDates is hardcoded,and the calling function (WEBLINGO:WebLingo Root:WebScript.RunFileWithArglist)does not pass in an explicit TRUE for LookupCompiledFile.
The only way you can modify these valuesis by either writing a patch that patches the features or modify the startupscript to tweak the values after the WEBLINGO OSpace has loaded.
To do this, backup then open thellweb_startup.lxe file in the root of your Livelink installation directory.
Locate the following section in the file:
// Apply allpatches
if ( retval.OK )
String patchDir= dirPrefix + 'patch' + File.Separator()
$PatchUtils.Patch(patchDir )
else
echo("Skipping patch loading." )
end
Right after this patch loading section,insert a line to change the gEnableCaching flag:
$WebLingo.gEnableCaching= FALSE
That should disable the web lingo cachingwhen the service is restarted.
_________________________________________Kyle SwidrovichPrincipal Search / SDK Product SpecialistLivelink Escalations Support TeamOpen Text Corporation275 Frank Tompa Dr.Waterloo, ON, CANADAPhone : +1-800-540-7292Online: http://support.opentext.com_________________________________________
From: eLinkDiscussion: Development Discussion [mailto:development@elinkkc.opentext.com] Sent: Friday, December 12, 20082:37 PMTo: eLink RecipientSubject: Server page caching -stopping it
Server page caching - stopping it
Posted by ulabsadmin (Weller, Pam) on 12/12/2008 02:36 PM
How can I stop the server, during development, from caching the HTML pages. I am finding that at some points, cant figure out why, the server will not serve an HTML file that has been modified, it serves a cached version. I am modifying the HTML file directly using Aptana via FTP. Of course stopping and restarting the service works but there has to be another way! Thanks for any help.