SQLite Testing
Login
Registration
Changes
Index
Random
more
▼
Print
Referrers
Search:
Home Page
>
Users
>
Eo Ny
>
dev
Difference between revisions for
Users / Eo Ny / dev
Detailed
Simple
Source
Side by side
Inline
Merged
← Previous edit
Revision
12
as of
05/05/2026 19:28
▼
12
05/05/2026 19:28 WikiAdmin
11
05/05/2026 19:28 WikiAdmin
10
05/05/2026 19:27 WikiAdmin
9
05/05/2026 19:25 WikiAdmin
8
05/05/2026 19:24 WikiAdmin
7
05/05/2026 19:23 WikiAdmin
6
05/05/2026 19:21 EoNy
5
05/05/2026 19:11 EoNy
4
05/05/2026 19:10 EoNy
3
05/05/2026 19:10 EoNy
2
05/05/2026 19:08 EoNy
1
05/05/2026 19:06 EoNy
(18.3 KiB)
WikiAdmin
Next edit →
Revision
13
as of
05/05/2026 19:29
▼
18
05/21/2026 16:12 WikiAdmin
17
05/18/2026 15:15 WikiAdmin
16
05/18/2026 05:05 WikiAdmin
15
05/18/2026 05:04 WikiAdmin
14
05/17/2026 21:10 WikiAdmin
13
05/05/2026 19:29 EoNy
(18.3 KiB)
+19
EoNy
Additions:
Contents
1.
Overview
2.
Class Properties
2.1.
Public Properties
2.2.
Private Properties
3.
Constructor
4.
Core Methods
4.1.
Session Management
4.1.1.
session($route): void
4.2.
Caching System
4.2.1.
check_cache($page, $method): void
4.2.2.
store_cache(): void
4.2.3.
invalidate_page($page): int
4.3.
TLS/HTTPS Security
4.3.1.
secure_base_url(): void
4.3.2.
ensure_tls($url): void
4.4.
IP Address Detection
4.4.1.
real_ip(): string (Private)
4.5.
HTTPS Detection
4.5.1.
tls_session(): bool (Private)
4.6.
Security Headers
4.6.1.
http_security_headers(): void
4.7.
HTTP Methods
4.7.1.
redirect($url, $permanent = false): void
4.7.2.
terminate(): void
4.7.3.
status($code): void
4.8.
Caching Control
4.8.1.
no_cache($client_only = true): void
4.8.2.
cache_promisc(): void
4.9.
Language Negotiation
4.9.1.
user_agent_language(): string
4.9.2.
available_languages($subset = true): array
4.10.
File Serving
4.10.1.
sendfile($path, $filename = null, $age = null): void
4.10.2.
mime_type($path): string
4.10.3.
mime_types(): array (Private)
4.11.
Compression
4.11.1.
gzip(): void
4.12.
Utility Methods
4.12.1.
parse_str($str): array (Private)
4.12.2.
request_uri(): string (Private)
4.12.3.
cut_prefix($prefix, $path): string (Private)
4.12.4.
get_header_conf($file_name): string (Private)
5.
Configuration Dependencies
6.
Constants Used
7.
Workflow Examples
7.1.
Example 1: Handling a GET Request
7.2.
Example 2: Handling TLS/HTTPS Upgrade
7.3.
Example 3: Invalidating Cache After Page Edit
7.4.
Example 4: Serving a File
8.
Security Considerations
8.1.
1. IP Address Spoofing
8.2.
2. Session Security
8.3.
3. TLS Enforcement
8.4.
4. Content Security
8.5.
5. File Serving
8.6.
6. Cache Security
9.
Performance Optimization
9.1.
1. Page Caching
9.2.
2. MIME Type Caching
9.3.
3. Session Options
9.4.
4. Compression
10.
Debugging
11.
Related Classes
12.
Version History
13.
Conclusion