googlevideo no me hace HIT, en reportes me dice ahorro 0% y eficacia 0% :'(... alguna manito :-*
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Menú Mostrar Mensajes1427459184.000 (18310) MISS/200 3642 GET http://images01.olx-st.com/ui/87/91/31/t_1427457556_792819006_1.jpg
acl youtube url_regex -i (googlevideo.com|youtube.com)
request_header_access User-Agent deny google
request_header_replace User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36 (compatible; Googlebot/2.2; +http://www.google.com/bot.html)
header_replace User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36 (compatible; Googlebot/2.2; +http://www.google.com/bot.html)
, pero no funca.....
acl google url_regex -i (googlevideo.com|youtube.com)
request_header_access User-Agent deny google
header_replace User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 (compatible; Googlebot/2.2; +http://www.google.com/bot.html)
#include <iostream>
#include <cstring>
#include <string>
#include <vector>
#include "../utils.cpp"
using namespace std;
// use this line to compile
// g++ -I. -fPIC -shared -g -o roloeganga.com.ve.so roloeganga.com.ve.cpp
// Regex
// http.*\.roloeganga\.com\.ve.*\.jpg
string get_filename(string url) {
vector<string> resultado;
string retorna = "";
stringexplode(url, "/", &resultado);
retorna = resultado.at(resultado.size()-2) + "-"+resultado.at(resultado.size()-1);
return retorna;
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find(".scmventures.net/") != string::npos) and (url.find(".jpg") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "roloeganga";
} else {
r.match = false;
}
}
else
{
r.match = false;
}
return r;
}
#include <iostream>
#include <cstring>
#include <string>
#include <vector>
#include "../utils.cpp"
using namespace std;
// use this line to compile
// g++ -I. -fPIC -shared -g -o roloeganga.scmventures.net.so roloeganga.scmventures.net.cpp
// Regex
// http.*\.roloeganga\.scmventures\.net.*(\.jpg|\.png|\.gif|\.bmp)
string get_filename(string url) {
vector<string> resultado;
string retorna = "";
stringexplode(url, "/", &resultado);
retorna = resultado.at(resultado.size()-2) + "-"+resultado.at(resultado.size()-1);
return retorna;
}
extern "C" resposta getmatch(const string url) {
resposta r;
if ( (url.find("roloeganga.scmventures.net/") != string::npos)
) {
r.file = get_filename(url);
if (!r.file.empty()) {
r.match = true;
r.domain = "roloeganga.scmventures.net";
} else {
r.match = false;
}
}
else
{
r.match = false;
}
return r;
}
Cita de: kr4ken88 en Diciembre 09, 2014, 07:59:37 AMen 0 amigo
Gracias Firecold, algún otro usuario tiene alguna experiencia para compartir respecto al DNS? En el panel de control deberíamos ver DNS Cache 1 o 0 ?
Saludos!