[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [Help](/c/help/9) # ISR doesn't seem to be working 81 views · 0 likes · 3 posts Hakansungur (@hakansungur) · 2024-12-22 ``` import StartRating from "../../../components/StartRating/StartRating"; import Avatar from "@/shared/Avatar/Avatar"; import ButtonSecondary from "@/shared/Button/ButtonSecondary"; import Link from "next/link"; import HotelService from "@/services/HotelService"; import HolidayOfferService from "@/services/HolidayOfferService"; import { vacbidTranslation } from "../../../i18n/index"; import renderHreflangTagsSlugPage from "@/utils/renderHreflangTagsSlugPage"; import RenderSection8 from "./RenderSection8"; import SectionBecomeAnAuthor from "../../../components/SectionBecomeAnAuthor/SectionBecomeAnAuthor"; import SectionStayOffers from "./SectionStayOffers"; import StaySection1 from "./StaySection1"; import StaySection2 from "./StaySection2"; import RenderSection3 from "./RenderSection3"; import RenderSection7 from "./RenderSection7"; import RenderPhotosSection from "./RenderPhotosSection"; import RenderSidebar from "./RenderSidebar"; import MobilFooter from "./MobilFooter"; export const revalidate = 2592000; // 30 gün export async function generateMetadata({ params: { lng, hotelSlug } }) { const { data: { data: stay }, } = await new HotelService().getHotelBySlug(hotelSlug); return { title: `${stay.name} | Vacbid`, description: stay.description?.slice(0, 160), openGraph: { title: `${stay.name} | Vacbid`, description: stay.description?.slice(0, 160), url: `https://vacbid.com/${lng}/hotel/${stay.slug}`, siteName: "Vacbid", locale: lng, type: "website", images:[stay.hotelImages[0].url] , }, twitter: { card: "photo", title: "Vacbid.Com", site: "@Vacbid", }, keywords: `${stay.name},${stay.city?.name},${stay.country?.name},Hotel,Hotels,Vacations,Luxury Travel,Summer Vacation,Family Vacation,Cheap Vacations,Holiday Packages,Vacation Bid, Hotel Price`, facebook: { appId: '3737678119783579', }, alternates: { canonical: `https://vacbid.com/${lng}/hotel/${stay.slug}`, languages: { ...renderHreflangTagsSlugPage("hotel",stay.slug), "x-default": `https://vacbid.com/hotel/${stay.slug}`, }, }, }; } const ListingStayDetail = async ({ className = "", isPreviewMode, params: { lng, hotelSlug }, }) => { const {t}= await vacbidTranslation(lng); const { data: { data: stay }, } = await new HotelService().getHotelBySlug(hotelSlug); const [ { data: { data: stayUserBids } }, { data: { data: userStaysSize } } ] = await Promise.all([ new HolidayOfferService().countAllByHotelUserId(stay.user.id), new HotelService().countAllByUserId(stay.user.id) ]); const urls = stay?.hotelImages?.map((image) => image.url); ......... ``` I have such code, and I noticed that ISR (Incremental Static Regeneration) is not applied after the first visit. What should I do? Does the system need more time? Pauline P. Narvas (@pawlean) · 2025-01-24 Hi, @hakansungur! Did you manage to get to the bottom to what the issue was? system (@system) · 2026-01-20 Hey @hakansungur! 👋 Just checking in on this thread. If you're still experiencing issues or have additional details to share, please let us know! We're here to help.