1
davhue
smarty cache dropping scripts and stylesheets
  • 2007/9/6 1:46

  • davhue

  • Just popping in

  • Posts: 2

  • Since: 2006/8/29


We're running XOOPS 2.0.15. When we turn cacheing on any scripts or stylesheets registered with

$xoTheme->addScript(null,null, <
2
aph3x
Re: smarty cache dropping scripts and stylesheets
  • 2007/9/6 2:00

  • aph3x

  • Theme Designer

  • Posts: 834

  • Since: 2004/12/26


Thats expected...not "normal" but yes when cache is turned on then styles of module along with every js a module inserts in theme's header will be ignored...i personally know just one module that doesn't drop js/styles when cache is activated...future version of wfdownloads...there might be others as well
Everything I'm not made me everything I am
The Themes

3
davhue
Re: smarty cache dropping scripts and stylesheets
  • 2007/9/6 2:48

  • davhue

  • Just popping in

  • Posts: 2

  • Since: 2006/8/29


Thanks for the info, I was worried that I'd gotten something crosswired deep in the bowels of smarty. I suppose that I could move the scripts & such into the body easy enough. We're still in development so I don't haev any experience with cacheing in production.

Would moving things be worth it? Do you get much of a performance boost?

Login

Who's Online

271 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 271


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits