jasonlewis / basset

A better asset management package for Laravel.
http://jasonlewis.me/code/basset
240 stars 76 forks source link

Googlebot not getting assets #226

Open ux-engineer opened 10 years ago

ux-engineer commented 10 years ago

Hi,

I'm getting error in the log: "Symfony\Component\HttpKernel\Exception\NotFoundHttpException" and as I'm using a logging service these raise false alarms.

Errors are for getting asset like: https://domain.extension/builds/base/css/1-base-8d2985d1dabbe5aac73b62730eb12ebb.css

If I manually browse to that address I'm getting that CSS file no problem.

Now that I looked into this more I noticed request header details:

Accept /

Accept-Encoding gzip,deflate

Connection Keep-alive

From googlebot(at)googlebot.com

Host www.domain.extension

User-Agent Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)