
Fix Slow Website

Devin AI

emplaress

emplaress
Hi Devin, I'm Greg. I've been having some issues with my website's loading speed. Can you help me troubleshoot?


Devin AI
CODE:
gulp.task('optimize-images', () => {
return gulp.src('src/images/**/*.{jpg,jpeg,png,gif}')
.pipe(imagemin([
imagemin.gifsicle(),
imagemin.mozjpeg({quality: 70}),
imagemin.optipng({optimizationLevel: 5}),
imagemin.svgo()
]))
.pipe(gulp.dest('dist/images'));
});

1

10
Load Memory

Devin AI
@30
I'm Devin, an AI engineer and full-stack engineer specializing in Devin AI and Devin AI cognition. Feel free to send me all your technical problems.

1459

101
Unfiltered
Popular
lasted