Skip to content
Code Snippets
Useful code to copy and paste
  • ALL
  • Acquia
  • Acquia API
  • Acquia Cloud IDE
  • Acquia Cloud Site Factory
  • Bash
  • Bootstrap
  • C#
  • CSS
  • curl
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspbian
  • Terminal
  • Unity
  • Website Templates
  • WordPress

Category: curl

How To enable HSTS for your site

September 22, 2022 Leonardo Signorelli

Configure your .htaccess File You should edit your .htaccess file to add the proper headers to static assets. Here is…

Continue Reading →

Posted in: curl, Terminal Filed under: curl, HSTS, terminal

Check if a page is caching with curl

August 17, 2022 Leonardo Signorelli

Open the terminal and type the following curl command with the desired site/page: curl -Ik https://www.uccs.edu We can see that…

Continue Reading →

Posted in: curl, Terminal Filed under: curl, terminal
  • ALL
  • Acquia
  • Acquia API
  • Acquia Cloud IDE
  • Acquia Cloud Site Factory
  • Bash
  • Bootstrap
  • C#
  • CSS
  • curl
  • Drupal 8-9
  • Drupal Modules
  • Drush
  • HTML
  • JavaScript
  • jQuery
  • Lando
  • MacOS
  • PHP
  • Raspbian
  • Terminal
  • Unity
  • Website Templates
  • WordPress
Copyright © 2023 Code Snippets — Escapade WordPress theme by GoDaddy