For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/lynx-devtool-native-api/lynx-base-inspector-owner/reload.md.
Lynx
  • English
  • reload

    Reloads the current page, or loads a new template to replace the current page.

    Syntax

    iOS

    LynxBaseInspectorOwner.h
    - (void)reloadLynxView:(BOOL)ignoreCache;
    - (void)reloadLynxView:(BOOL)ignoreCache
              withTemplate:(nullable NSString *)templateBin
             fromFragments:(BOOL)fromFragments
                  withSize:(int32_t)size;

    Android

    LynxBaseInspectorOwner.java
    void reload(boolean ignoreCache);
    void reload(boolean ignoreCache, String templateBin, boolean fromTemplateFragments, int templateSize);

    Parameters

    • ignoreCache: Whether to ignore the cache. If true, rendering-related caches will be cleared.
    • templateBin: A Base64-encoded Lynx template string (nullable or empty).
      • When calling the first reload method, or when this parameter is null or an empty string: The page's original template is reloaded.
      • When this parameter is a valid Base64 string: The new template contained in the string is loaded, which can be used for redirection.
    • fromFragments / fromTemplateFragments: Whether to load the template file in fragments.
      • For internal use only. External calls should always set this to false.
    • size / templateSize: When fromFragments is true, specifies the total size of the template file in bytes.
      • For internal use only. External calls should always set this to 0.

    Compatibility

    LCD tables only load in the browser

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.