CSS/JS not loading with Page cache plugin after few min of cache reset

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeCSS/JS not loading with Page cache plugin after few min of cache reset

This topic has been marked as not a support question.

Hello,

I am using Opencart Page cache plugin with pavillion theme on OC version 1.5.6 .

Plugin URL :  https://github.com/budgetneon/pagecache

When I enable the plugin, the site work perfectly find but after few min some of site element won’t show proper formating. Then I need to reset the page cache again and the same happen after few min.

To resolve the issue I investigate and  found either I enable or disable pavillion internal cache it still generate two cache CSS file with some key.  ( main.ltr.0.styles.css and pavilion.intro_global.content_global.footer_global.ltr.0.styles.css )  . But the cached CSS get reset with some other content or not accessible with cached page.

The page cache really help to improve the website speed but due the above error is creating big trouble.

Also it is majorly disturbing the row which content few icons and few text lines.

Please reply.

May 2, 2016 at 2:23 pm #47082

Hi,

Pavilion serves two CSS files:

- Components and theme common styles – this file is the same for the entire store (and language)
- Dynamic styles like colors, fonts, background images etc. – this file is unique for a page or a set of pages (with similar content)

Most likely, Page cache extension caches the wrong (or expired) urls for different pages. You have to somehow exclude this line from caching.

BR,
ThemeBurn team

May 16, 2016 at 4:10 pm #47620
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.