LogoLogo
SupportChangelogAPI ReferenceStatus
Distributor API
Distributor API
  • Welcome
  • Getting Started
    • Functionalities
    • Integration Process
      • Implementation Guide
    • OCTO & Prioticket
      • Feature Comparison
    • Postman & Interactive Documentation
    • Connect Once, Reach the World
      • Featured Suppliers
        • Supplier Overview Europe
        • Supplier Overview Americas
        • Supplier Overview Middle East
      • Featured Resellers
    • Statement on API Excellence
    • Frequently Asked Questions
  • Key Concepts
    • Product Structure
      • Product types and classes
      • Admission types
      • Extra Options
      • Pickup Points
      • Combi, Clusters, Bundles & Addons
        • Cluster
        • Combi
        • Addons
        • Bundle
    • Availability and Capacity
      • Availability
      • Capacity
        • Shared and Allocated Capacity
      • Availability API
    • Pricing Guide
      • Who are you?
      • Configurations
      • Variable Pricing
      • Dynamic Pricing
      • How It All Comes Together
    • Booking Logic
      • Cart Management
      • Payments
      • Cancellation & Refunds
      • Booking Questions
    • Additional Capabilities
      • Locations, Destinations and Categories
      • Recommendations
      • Promotions
      • Webhooks
      • Translations
    • Technical Concepts
      • Authentication
      • Idempotency
      • Rate Limiting
      • Timeout Handling
      • Error Handling
      • API versioning
      • Pagination
      • Formats
      • Headers
      • Caching
  • Endpoints
    • About
    • Authentication
    • System
    • Products
      • Stock
    • Availability
    • Reservations / Cart
      • Promocodes
    • Orders
      • Email & Vouchers
    • Payments
    • Contacts
    • Notifications
    • Models
  • Resources
    • Release notes
    • Roadmap
    • Postman
    • Swagger
    • Changelogs
      • Parameter Changelog
    • API Specs
      • V3.8 (Latest)
      • V3.7
      • V3.6
      • V3.5
    • Support
    • Certification
  • Status Dashboard
Powered by GitBook
On this page
  • Availability API – Caching and Real-Time Access
  • Our Modern Approach: Real-Time by Default
  • Caching for Third-Party Systems
  • For Conservative Integrators: Optional Fallback Caching Strategy

Was this helpful?

Export as PDF
  1. Key Concepts
  2. Technical Concepts

Caching

Staying Fresh

Availability API – Caching and Real-Time Access

Prioticket seamlessly integrates with a variety of third-party supplier systems, each with its own caching capabilities. To ensure consistent availability data across all integrations, our platform uses a unified caching strategy designed to maximize performance while reducing the load on third-party systems.

Prioticket's Availability API is designed to provide real-time availability and pricing data for products with managed capacity. Unlike traditional systems that rely heavily on caching and synchronization intervals, Prioticket takes a different approach.


Our Modern Approach: Real-Time by Default

Where most third-party systems require you to implement caching strategies to avoid performance issues or outdated availability, Prioticket is built for real-time access by design. Our platform ensures that every availability request returns the most accurate, up-to-date information, without the need for local caching on your end.

We achieve this by:

  • Direct proxying of real-time availability APIs where supported.

  • Sub-second API responses, even when third-party systems are slower.

  • Smart request collapsing to reduce system load while maintaining real-time accuracy.

  • Continuous optimization of our internal caching and synchronization layers to minimize discrepancies.

With Prioticket, there's no need to build your own cache, worry about staleness, or implement aggressive refresh strategies. You can confidently call our API in real time, even just before checkout, and receive reliable data every time.

Note: Because we use a highly optimized URL-based caching strategy, we strongly recommend keeping your API requests as consistent and structured as possible. This helps maximize cache efficiency and performance within our infrastructure.


Caching for Third-Party Systems

In situations where a third-party system has caching limitations or lacks flexibility, Prioticket maintains a temporary cache to ensure uninterrupted access. We use a Last-Modified or If-Modified-Since approach for integrations that support it. This method helps reduce bandwidth usage while ensuring consistency between the actual and cached availability. When this approach is implemented, you will not experience discrepancies between live and cached data.

For scenarios where full consistency between cached and real-time data is not possible, we continuously improve our caching mechanisms to minimize mismatches. Our team works regularly to enhance this process and provide availability data that is as close to real-time as possible.

Optimization and Frequency of Caching

Our team continuously collaborates with third-party reservation systems to refine our caching logic. We are actively working to improve accuracy by decreasing the caching interval where feasible.

For products with limited third-party caching capabilities, our caching interval is typically set to the lowest possible value. For many other products, caching frequencies are under 60 minutes or fully synchronized, depending on the specific integration.

System Optimization

Prioticket’s system is designed to provide sub-second response times, while third-party systems often require several seconds to return availability data. As part of our ongoing commitment to system optimization, we work with our partners to ensure that our caching layer strikes the right balance between system performance and real-time accuracy.

This approach minimizes discrepancies and ensures that you receive the best possible data with minimal delays. Our team is continuously refining our caching strategy to improve real-time availability and provide a seamless experience for all users.


For Conservative Integrators: Optional Fallback Caching Strategy

If you're more comfortable implementing some level of caching, for example, when loading availability for multiple products on a general overview page, you may still apply a light caching policy:

  • Before each order: Always re-check availability for the most up-to-date price and capacity.

  • Every hour: Refresh availability for the next 7 days.

  • Once per day: Refresh availability for the coming month.

  • Once per week: Refresh availability for the next 90 days.

  • Refinements: Adjust caching frequency based on product popularity or remaining capacity (e.g., update more often if remaining capacity < 100).

This fallback strategy is based on our legacy guidance and may be used if you're integrating with older systems or prefer a hybrid approach. However, for the best experience and most accurate availability, we encourage you to rely on real-time calls whenever possible.

PreviousHeadersNextAbout

Last updated 13 days ago

Was this helpful?