CrispCache optimizes and delivers your content through a global CDN network. Get faster load times, reduced bandwidth costs, and improved user experience.
// Using GET
fetch('https://crispcache.com/api/images/compress?url=https://example.com/image.jpg')
// Using POST
fetch('https://crispcache.com/api/images/compress', {
method: 'POST',
body: {
image: 'image.jpg'
}
})
# Using GET
curl "https://crispcache.com/api/images/compress?url=https://example.com/image.jpg"
# Using POST
curl -X POST "https://crispcache.com/api/images/compress" -F "[email protected]"
# Using GET
import requests
response = requests.get(
'https://crispcache.com/api/images/resize?width=600&height=400&url=https://example.com/image.jpg'
)
# Using POST
import requests
response = requests.post(
'https://crispcache.com/api/images/resize?width=600&height=400',
files={'image': open('image.jpg', 'rb')}
)
# Using GET
require 'net/http'
require 'uri'
uri = URI('https://crispcache.com/api/images/compress?url=https://example.com/image.jpg')
response = Net::HTTP.get(uri)
# Using POST
require 'net/http'
require 'uri'
uri = URI('https://crispcache.com/api/images/compress')
response = Net::HTTP.post_form(uri, 'image' => 'image.jpg')
// Using GET
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://crispcache.com/api/images/watermark?text=Sample&position=bottom-right&url=https://example.com/image.jpg",
]);
// Using POST
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://crispcache.com/api/images/watermark?text=Sample&position=bottom-right",
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => ["image" => new CURLFILE("image.jpg")]
]);
// Using GET
import (
"net/http"
"io/ioutil"
)
resp, err := http.Get("https://crispcache.com/api/images/compress?url=https://example.com/image.jpg")
// Using POST
file, _ := os.Open("image.jpg")
body := &bytes.Buffer{}
writer := multipart.NewWriter(body)
part, _ := writer.CreateFormFile("image", "image.jpg")
io.Copy(part, file)
writer.Close()
req, _ := http.NewRequest("POST",
"https://crispcache.com/api/images/compress",
body)
CrispCache helps you serve your content faster with intelligent caching and optimization. Improve performance and reduce costs with our comprehensive CDN solution.
Accelerate your content delivery with our flexible pricing plans. Choose the plan that best fits your needs, from small websites to enterprise-level applications. All plans include our core optimization features.
Perfect for small websites
For growing businesses
For large-scale applications
Get started with our service today for free! You can easily create an account by entering your details below, or for a smoother sign-up process, simply sign in using Google.