Client-Side Web Page Caching to Reduce Server Memory Load
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for acquiring and displaying web page data lead to server memory inefficiency and frequent database searches, causing IO bottlenecks and increased pressure on servers, especially when multiple users access web pages simultaneously.
Innovation Solution
Implementing a hidden form on the client to cache web page data within a specific page number range, reducing the frequency of database searches and server memory usage by pre-storing HTML source code and using it to generate web pages locally when possible, with the server only providing additional data when necessary.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If the server stores all paginated web page data in memory, then web page delivery speed is improved, but server memory occupation increases significantly
Solution Approach 1:
The patent segments the web page data into multiple paginated portions and distributes them between server memory and client storage. The server keeps only the current page and necessary navigation data in memory, while the client stores previously accessed pages locally. This segmentation allows fast delivery of currently accessed pages while minimizing server memory requirements.
Solution Approach 2:
The patent implements preliminary action by pre-fetching and storing web page data in the client's hidden form before the user actually needs it. When a user accesses a web page, the system anticipates potential pagination needs and pre-loads adjacent pages into client storage, reducing subsequent server requests and improving perceived speed without requiring the server to maintain all pages in memory.
2Quantity of substance
If the server searches the database for each page switching request, then memory usage is reduced, but database IO frequency increases causing bottlenecks
Solution Approach 1:
The patent extracts frequently accessed web page data from the database and stores it in the client's hidden form. Instead of querying the database for every page request, the system retrieves data once from the database and caches it client-side. This extraction reduces database IO frequency significantly, eliminating the bottleneck while keeping server memory usage low.
Solution Approach 2:
The patent creates copies of web page data and stores them in the client's hidden form. Rather than repeatedly reading from the database, the system makes local copies at the client end that can be served instantly. This copying mechanism reduces database IO operations while maintaining fast page delivery, resolving the contradiction between memory usage and IO efficiency.
3Adaptability or versatility
If multiple users access web pages simultaneously, then server functionality is maintained, but server pressure and database IO load increase excessively
Solution Approach 1:
The patent implements self-service by enabling clients to serve their own pagination needs from locally stored data in hidden forms. When users navigate through pages, the client retrieves data from its own cache rather than requesting from the server. This self-service approach allows multiple users to access and navigate web pages simultaneously without increasing server pressure, as each client independently manages its own data cache.
Data Source
AI summary
A technique for acquiring a web page includes: receiving, at a client, a user instruction; obtaining from the instruction a page number of a web page that a user desires to access; searching for web page data in a hidden form that is cached in advance at the client, the search being based at least in part on the page number and the hidden form comprising web page data for a plurality of page numbers and in the event that web page data is found in the hidden form, generating, by the client, the web page using the web page data.


