New answers tagged

2 votes

Craft 2 Caching RESTful API Results Displayed On Page

A non-upgrade option would be to evaluate your stored data, reduce as many external calls as you can. For connecting to an API you'll also want to evaluate whether the slowdown is occurring on your ...
cherrykoda's user avatar
  • 790
2 votes

Craft 2 Caching RESTful API Results Displayed On Page

Honestly not trying to upsell you, but a ton of speed improvements have occured in Craft 3 and Craft 4 that would massively benefit overall performance here. I'd consider upgrading to at least Craft 3 ...
cherrykoda's user avatar
  • 790
1 vote

Element In Template Not Hiding On Page Load

I have a number of divs which are part of a Javascript "read more" script… For a readmore?? Why not just use the truncate filter? <p>{{ entry.intro|truncate(10, '…') }}</p> <...
Seth Warburton's user avatar
2 votes

Element In Template Not Hiding On Page Load

What you are seeing is the page being rendered with HTML and CSS first. This is the part where the text is completely visible. After a second the Javascript is executed which shortens the texts. I ...
Matthias's user avatar

Top 50 recent answers are included