WARNING LocalSite.cfg could not be found (This is normal for a new installation)
This Foswiki is running using a bootstrap configuration worked out by detecting the layout of the installation. To complete the bootstrap process you should either:
  • Restore the missing LocalSite.cfg from a backup, or
  • Complete the new Foswiki installation:

You have been logged in as a temporary administrator. Any requests made to this Foswiki will be treated as requests made by an administrator with full rights Your temporary administrator rights will "stick" until you've logged out from this session.

PerlDoc

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki::Prefs
Child packages:

    SMELL / FIX / TODO count: 1

    internal package Foswiki::Prefs::CacheRAM is a Foswiki::Prefs::TopicRAM

    This is a preference backend used to get preferences defined in a topic and cache them in memory.

    ClassMethod new(@_)

    Creates a preferences backend object.

    ObjectMethod finish()

    Break circular references.

    ObjectMethod cacheHits() → $int

    returns the number of hits to the memory cache

    ObjectMethod getEntry() → \%entry

    returns a cache entry for the given topic object

    ObjectMethod setEntry() → \%entry

    stores the private values into the global cache.

    ObjectMethod getModificationTime() → $timestamp

    returns the file modification time of the topic object

    SMELL: breaks storage abstraction, should be part of the storage api

    ObjectMethod invalidate($metaOrPath)

    this method can be called as an object as well as a class method. If called as a class method the $metaOrPath parameter is mandatory

    ObjectMethod getCacheKey($metaOrPath) → $string

    this method is an object as well as class method, similar to invalidate(). it returns the key for the current object to cache its preferences for.

    Topic revision: r1 - 15 Mar 2026, UnknownUser
    This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
    Ideas, requests, problems regarding Foswiki? Send feedback