Abstract
Web latency remains a significant barrier to user experience. While traditional caching mechanisms mitigate some delays, they often fail with dynamic content or unique user trajectories. This paper introduces Fuzzy-LZ, a novel prefetching technique that applies web usage mining at the proxy level. By extending the Lempel-Ziv (LZ78) compression algorithm with a semantic distance metric, Fuzzy-LZ can predict future user requests even when URLs are dynamic. Evaluation on real-world proxy logs shows a 41.5% increase in cache hit rates and a reduction in average latency from 1747.7 ms to 38.11 ms, demonstrating the effectiveness of personalized, pattern-based prefetching.
Introduction
The growth of the World Wide Web has made latency a primary frustration for users. Caching—the storage of recently accessed objects—is a standard solution, but its effectiveness is limited by the "long tail" of web content and the increasing prevalence of dynamic, personalized URLs. Prefetching offers a proactive alternative by loading content before it is explicitly requested. However, existing prefetching methods often require server-side modifications or rely strictly on hyperlink structures within a single site. This paper proposes a proxy-side prefetching system that learns individual user behavior across multiple domains using a modified compression algorithm.
The Fuzzy-LZ Methodology
The core of the proposed system is the Fuzzy-LZ algorithm, which adapts the incremental parsing scheme of LZ78 for web access sequences. Unlike standard LZ algorithms that require exact string matches, Fuzzy-LZ incorporates a semantic distance metric to handle the "noise" of modern URLs, such as session IDs or varying news article paths.
The algorithm organizes user history into a tree-like structure where nodes represent visited URLs and edges represent transitions. By calculating the similarity between a current request and existing nodes based on server name, path, and query strings, the system can identify clusters of related activity.
Furthermore, the authors introduce a learnability metric derived from information theory. This metric quantifies the entropy or randomness of a user's browsing history, allowing the system to determine the predictability of a user before initiating prefetching operations.
Experimental Evaluation
The researchers validated Fuzzy-LZ using a dataset of 4,109,814 log entries from a production enterprise proxy server, representing 623 unique users over one week in August 2002. A custom testbed using the WAN emulator DummyNet was employed to simulate realistic network conditions and replay the captured traffic.
Key Findings and Insights
The study revealed several critical insights into web usage patterns:
- The Predictability "Sweet Spot": Prefetching is most effective for users with moderate randomness. Approximately 80% of users fell into a "learnability" range of 0.65 to 0.85, where Fuzzy-LZ significantly outperformed standard caching.
- Performance Gains: For typical users, Fuzzy-LZ achieved a 41.5% improvement in cache hit rates. Average latency for prefetched content dropped from 1747.7 ms to just 38.11 ms.
- Efficiency: The system maintained low network overhead, prefetching an average of only 2.4 pages per user request, avoiding the bandwidth bloat common in simpler link-following prefetchers.
Conclusion
Fuzzy-LZ demonstrates that web usage mining at the proxy level can effectively reduce user-perceived latency by learning cross-site access patterns. By treating prediction as a "fuzzy" compression problem, the system handles dynamic content more robustly than traditional methods. Future work will focus on addressing challenges related to dynamic IP addresses and optimizing the computational resources required for large-scale proxy deployments.
Summary updated