Apache-ASP

 view release on metacpan or  search on metacpan

site/changes.html  view on Meta::CPAN

   unrelated data since its using the full MD5 keyspace now

 + Optimized some debugging statements that resulted 
   from recent development.

 + Tie::TextDir .04 and above is supported for StateDB
   and CacheDB settings with MLDBM::Sync .21. This is good for 
   CacheDB where output is larger and there are not many 
   versions to cache, like for XSLTCache, where the site is 
   mostly static.

 + Better RESOURCES section to web site, especially with adding
   some links to past Apache::ASP articles & presentations.
</pre></font>
	
	<p>
	<a name=%24VERSION%20%3D%20276d7fe30></a>
	<font face=verdana><font class=title size=+0 color=#555555><b>$VERSION = 2.25; $DATE="10/11/2001";</b></font>
<font face="courier new" size=3><pre>
 + Improved ./site/apps/search application, for better
   search results at Apache::ASP site.  Also, reengineered
   application better, with more perl code moved to global.asa.
   Make use of MLDBM::Sync::SDBM_File, where search database
   before was engineering around SDBM_File&#39;s shortcomings.

 - Fix for SessionSerialize config, which broke in 2.23
   Also, added t/session_serialize.t to test suite to catch
   this problem in the future.
</pre></font>
	
	<p>
	<a name=%24VERSION%20%3D%2024674da9c></a>
	<font face=verdana><font class=title size=+0 color=#555555><b>$VERSION = 2.23; $DATE="10/11/2001";</b></font>
<font face="courier new" size=3><pre>
 +Make sure a couple other small standard modules get loaded
  upon &quot;PerlModule Apache::ASP&quot;, like Time::HiRes, Class::Struct,
  and MLDBM::Serializer::Data::Dumper.  If not available
  these modules won&#39;t cause errors, but will promote child httpd
  RAM sharing if they are.

 -XMLSubs args parsing fix so an arg like z-index
  does not error under UseStrict.  This is OK now:

   &lt;my:layer z-index=3 top=0 left=0&gt; HTML &lt;/my:layer&gt;

 -Only remove outermost &lt;SCRIPT&gt; tags from global.asa
  for IIS/PerlScript compatibility.  Used to remove
  all &lt;SCRIPT&gt; tags, which hurt when some subs in globa.asa
  would be printing some JavaScript.

 +$Response-&gt;{IsClientConnected} now updated correctly 
  before global.asa Script_OnStart.  $Response-&gt;IsClientConnect()
  can be used for accurate accounting, while 
  $Response-&gt;{IsClientConnected} only gets updated
  after $Response-&gt;Flush().  Added test cases to response.t

 +$Server-&gt;HTMLEncode(\$data) API extension, now can take
  scalar ref, which can give a 5% improvement in benchmarks
  for data 100K in size.

 -Access to $Application is locked when Application_OnEnd &amp; 
  Application_OnStart is called, creating a critical section
  for use of $Application

 ++MLDBM::Sync used now for core DBM support in Apache::ASP::State.
  This drastically simplifies/stabilizes the code in there
  and will make it easier for future SQL database plugins.

 +New API for accessing ASP object information in non content
  handler phases:

    use Apache::ASP;
    sub My::Auth::handler {
      my $r = shift;
      my $ASP = Apache::ASP-&gt;new($r) 
      my $Session = $ASP-&gt;Session;
    }

  In the above example, $Session would be the same $Session
  object created later while running the ASP script for this
  same request.  

  Added t/asp_object.t test for this.  Fixed global.asa to only 
  init StateDir when application.asp starts which is the first 
  test script to run.

 -Fixed on Win32 to make Apache::ASP-&gt;new($r) able to create
  multiple master ASP objects per request.  Was not reentrant 
  safe before, particularly with state locking for dbms like 
  $Application &amp; $Session.  

 ++Output caching for includes, built on same layer ( extended )
  as XSLTCache, test suite at t/cache.t.  Enabled with special 
  arguments to 

    $Response-&gt;Include(\%args, @include_args)
    $Response-&gt;TrapInclude(\%args, @include_args)
    $Server-&gt;Execute(\%args, @include_args)

  where %args = (
    File =&gt; &#39;file.inc&#39;,
    Cache =&gt; 1, # to activate cache layer
    Expires =&gt; 3600, # to expire in one hour
    LastModified =&gt; time() - 600, # to expire if cached before 10 minutes ago
    Key =&gt; $Request-&gt;Form, # to cache based on checksum of serialized form data,
    Clear =&gt; 1, # to not allow fetch from cache this time, will always execute include
  );

  Like the XSLTCache, it uses MLDBM::Sync::SDBM_File
  by default, but can use DB_File or GDBM_File if
  CacheDB is set to these.

  See t/cache.t for API support until this is documented.

 +CacheSize now supports units of M, K, B like 

   CacheSize 10M
   CacheSize 10240K
   CacheSize 10000000B
   CacheSize 10000000



( run in 2.282 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )