We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

continue caching while using segment variables?

Development and Programming

Annodyne's avatar
Annodyne
15 posts
9 years ago
Annodyne's avatar Annodyne

So, here is the gist of my issue. Page load times are obscene. The times are somewhat expected with the size of the database and the vast vast vast amount of data we are displaying on one page (600 plus entries filtered from 25k+)

The page load times are aroudn 24 seconds if nothing is cached. With the channel entries resutls cached and sql caching etc etc, that page load speed drops to 6 seconds.

The issue is the way we have our site structured, we have a series of card entries. if you go to /channel/ you get all of these entries, while if you were to go to /channel/entrieurltitle you get the exact same page, and when the page loads, it scrolls down to the card specified.

since EE reads this as a new URL, the caching is not working.

I have been looking into using routing, but so far no luck. I need to have some way for the page to know /channel/{variable} will always load the same content so cache can persist.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.