SEO: compare/guide pSEO pages + internal links + intent differentiation
This commit is contained in:
@@ -34,18 +34,34 @@ const nextConfig = {
|
||||
pagesBufferLength: 2,
|
||||
},
|
||||
poweredByHeader: false,
|
||||
webpack: (config, { dev }) => {
|
||||
if (!dev && isWslOnWindowsMount()) {
|
||||
config.cache = {
|
||||
type: 'filesystem',
|
||||
cacheDirectory: path.join(os.tmpdir(), 'qrmaster-next-webpack-cache'),
|
||||
webpack: (config, { dev }) => {
|
||||
if (!dev && isWslOnWindowsMount()) {
|
||||
config.cache = {
|
||||
type: 'filesystem',
|
||||
cacheDirectory: path.join(os.tmpdir(), 'qrmaster-next-webpack-cache'),
|
||||
};
|
||||
}
|
||||
|
||||
return config;
|
||||
},
|
||||
async redirects() {
|
||||
return [
|
||||
|
||||
return config;
|
||||
},
|
||||
async headers() {
|
||||
const longCacheHeaders = [
|
||||
{
|
||||
key: 'Cache-Control',
|
||||
value: 'public, max-age=31536000, immutable',
|
||||
},
|
||||
];
|
||||
|
||||
return [
|
||||
{ source: '/favicon1.png', headers: longCacheHeaders },
|
||||
{ source: '/favicon.svg', headers: longCacheHeaders },
|
||||
{ source: '/favicon.ico', headers: longCacheHeaders },
|
||||
{ source: '/logo.svg', headers: longCacheHeaders },
|
||||
{ source: '/producthunt-featured.svg', headers: longCacheHeaders },
|
||||
];
|
||||
},
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: '/create-qr',
|
||||
destination: '/dynamic-qr-code-generator',
|
||||
|
||||
Reference in New Issue
Block a user