Tag: http
-
Control HTTP 301 redirects caching
HTTP redirects should be your tool of choice when you’re reorganizing or renaming key sections of your site on order to keep visitors from hitting a not found page and make search engines update their location and keep their ranking. However, sometimes you might run into a situation when you need to update a redirect,…
-
Using Basic Authentication with the WordPress HTTP API
Basic Authentication it’s often used as a simple security measure or as a temporary authentication method while developing with certain APIs. While the WordPress HTTP API doesn’t have explicit support for basic authentication, it’s still possible to use it as a header: Remember that if you’re sending an unencrypted request, all the headers will be…
-
Un-breaking lighttpd’s broken mod_access
A client let us know that the server where her company’s site was hosted had an unusually high load. After checking the access log for the web server, it was clear that the cause was repeated access attempts at a single URL, which was not essential to the site. So I though this should be…
-
Optimización AJAX 4: Caché permanente
En la parte final (por ahora) de esta serie sobre Optimización de respuestas AJAX vamos a revisar cómo utilizar técnicas de caché permanente, o lo que se debería denominar más correctamente caché-que-se-controla-desde-el-servidor — lo que complementa a la parte anterior sobre “caché volátil” o caché-que-se-controla-desde-el-cliente.
-
Cómo usar un certificado SSL autofirmado de forma segura
Hace un par de publicaciones atrás, explicaba cómo configurar un certificado SSL autofirmado para la administración de WordPress, y señalaba la dificultad de comprobar la integridad de la comunicación entre el cliente y el servidor debido a que un certificado autofirmado no está validado por una autoridad de certificación comercial, como las que se incluyen…