Hi Martin,
I think that's a great idea for an enhancement.
Best wishes,
Greg
On Nov 15, 2017 3:47 AM, "Martin Sivak" <msivak(a)redhat.com> wrote:
The downside is you'll have to clear your browser cache more
often as you
are developing. (You can use a browser plugin, incognito mode, F12
disable cache, etc. if you don't want to keep opening the
dialog.)
Why don't we use the name-hash.ext format for static files? Recompile
creates a different filename (because hash changed) which is not cached.
That would take care of cache invalidation and it is a common pattern in
the CDN world.
Best regards
Martin Sivak
On Tue, Nov 14, 2017 at 5:49 PM, Greg Sheremeta <gshereme(a)redhat.com> wrote:
> Hi,
>
> I made some changes [1][2] to ovirt-engine that make it now more
> aggressively (and correctly) cache all static assets. We were previously
> caching some things, but not all. (Thanks to ykaul for noticing.)
>
> The upside is reduced server hits and faster page loads.
>
The downside is you'll have to clear your browser cache more
often as you
> are developing. (You can use a browser plugin, incognito mode, F12
>
disable cache, etc. if you don't want to keep opening the
dialog.)
>
> [1]
https://gerrit.ovirt.org/#/c/83879/
> [2]
https://gerrit.ovirt.org/#/c/83871/
>
> Best wishes,
> Greg
>
>
> --
>
> GREG SHEREMETA
>
> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>
> Red Hat NA
>
> <
https://www.redhat.com/>
>
> gshereme(a)redhat.com IRC: gshereme
> <
https://red.ht/sig>
>
> _______________________________________________
> Devel mailing list
> Devel(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/devel
>